Mercurial > vim
changeset 14173:4b59671bce9c v8.1.0104
patch 8.1.0104: can't build without the +eval feature
commit https://github.com/vim/vim/commit/5ec7414a1c0512832f60c17437d6374cbf4b08e9
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 17:15:05 +0200 |
parents | f049f9ba9b61 |
children | d36eedd19166 |
files | src/regexp_nfa.c src/version.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;