# HG changeset patch # User Christian Brabandt # Date 1529766905 -7200 # Node ID 4b59671bce9ce5dcb72e28475ad333873c61f606 # Parent f049f9ba9b615f640c9d4ca6b95b0cf0f65e87eb patch 8.1.0104: can't build without the +eval feature commit https://github.com/vim/vim/commit/5ec7414a1c0512832f60c17437d6374cbf4b08e9 Author: Bram Moolenaar Date: Sat Jun 23 17:14:41 2018 +0200 patch 8.1.0104: can't build without the +eval feature Problem: Can't build without the +eval feature. Solution: Add #ifdef. diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -5693,7 +5693,11 @@ nfa_regmatch( nextlist->has_pim = FALSE; ++nfa_listid; 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 */ nfa_match = NFA_TOO_EXPENSIVE; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -779,6 +779,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 104, +/**/ 103, /**/ 102,