mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 8.2.4592: search continues after giving E1204
Problem: Search continues after giving E1204. Solution: Return failure after giving E1204. (closes #9972)
This commit is contained in:
@@ -1653,8 +1653,11 @@ nfa_regatom(void)
|
||||
long_u tmp;
|
||||
|
||||
if (cur)
|
||||
{
|
||||
semsg(_(e_regexp_number_after_dot_pos_search),
|
||||
no_Magic(c));
|
||||
return FAIL;
|
||||
}
|
||||
tmp = n * 10 + (c - '0');
|
||||
|
||||
if (tmp < n)
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4592,
|
||||
/**/
|
||||
4591,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user