forked from aniani/vim
patch 8.1.0104: can't build without the +eval feature
Problem: Can't build without the +eval feature. Solution: Add #ifdef.
This commit is contained in:
@@ -5693,7 +5693,11 @@ nfa_regmatch(
|
|||||||
nextlist->has_pim = FALSE;
|
nextlist->has_pim = FALSE;
|
||||||
++nfa_listid;
|
++nfa_listid;
|
||||||
if (prog->re_engine == AUTOMATIC_ENGINE
|
if (prog->re_engine == AUTOMATIC_ENGINE
|
||||||
&& (nfa_listid >= NFA_MAX_STATES || nfa_fail_for_testing))
|
&& (nfa_listid >= NFA_MAX_STATES
|
||||||
|
# ifdef FEAT_EVAL
|
||||||
|
|| nfa_fail_for_testing
|
||||||
|
# endif
|
||||||
|
))
|
||||||
{
|
{
|
||||||
/* too many states, retry with old engine */
|
/* too many states, retry with old engine */
|
||||||
nfa_match = NFA_TOO_EXPENSIVE;
|
nfa_match = NFA_TOO_EXPENSIVE;
|
||||||
|
@@ -778,6 +778,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
104,
|
||||||
/**/
|
/**/
|
||||||
103,
|
103,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user