updated for version 7.3.1114
Problem: Can't build without the syntax feature.
Solution: Add #ifdefs. (Erik Falor)
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c
index 225b7d4..4ad3191 100644
--- a/src/regexp_nfa.c
+++ b/src/regexp_nfa.c
@@ -3907,7 +3907,9 @@
if (c > 0)
return 99;
if ((c >= NFA_MOPEN && c <= NFA_MOPEN9)
+#ifdef FEAT_SYN_HL
|| (c >= NFA_ZOPEN && c <= NFA_ZOPEN9)
+#endif
|| c == NFA_NOPEN)
return failure_chance(state->out, depth + 1);
/* something else */
@@ -4201,7 +4203,9 @@
* Otherwise first do the one that has the highest chance
* of failing. */
if ((cout >= NFA_MCLOSE && cout <= NFA_MCLOSE9)
+#ifdef FEAT_SYN_HL
|| (cout >= NFA_ZCLOSE && cout <= NFA_ZCLOSE9)
+#endif
|| cout == NFA_NCLOSE
|| t->pim != NULL
|| (t->state->c != NFA_START_INVISIBLE_BEFORE