forked from aniani/vim
updated for version 7.4.029
Problem: An error in a pattern is reported twice. Solution: Remove the retry with the backtracking engine, it won't work.
This commit is contained in:
parent
e6a2fa6573
commit
917789fdf7
@ -8016,12 +8016,11 @@ vim_regcomp(expr_arg, re_flags)
|
||||
}
|
||||
#endif
|
||||
/*
|
||||
* If NFA engine failed, then revert to the backtracking engine.
|
||||
* Except when there was a syntax error, which was properly handled by
|
||||
* NFA engine.
|
||||
*/
|
||||
* If the NFA engine failed, the backtracking engine won't work either.
|
||||
*
|
||||
if (regexp_engine == AUTOMATIC_ENGINE)
|
||||
prog = bt_regengine.regcomp(expr, re_flags);
|
||||
*/
|
||||
}
|
||||
|
||||
return prog;
|
||||
|
@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
29,
|
||||
/**/
|
||||
28,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user