diff options
-rw-r--r-- | src/regexp_nfa.c | 12 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index e7db49930d..947b2e725c 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -184,9 +184,7 @@ enum NFA_MARK, /* Match mark */ NFA_MARK_GT, /* Match > mark */ NFA_MARK_LT, /* Match < mark */ -#ifdef FEAT_VISUAL NFA_VISUAL, /* Match Visual area */ -#endif NFA_FIRST_NL = NFA_ANY + ADD_NL, NFA_LAST_NL = NFA_NUPPER + ADD_NL, @@ -963,11 +961,9 @@ nfa_regatom() EMIT(NFA_CURSOR); break; -#ifdef FEAT_VISUAL case 'V': EMIT(NFA_VISUAL); break; -#endif case '[': { @@ -1976,9 +1972,7 @@ nfa_set_code(c) case NFA_MARK_GT: STRCPY(code, "NFA_MARK_GT "); break; case NFA_MARK_LT: STRCPY(code, "NFA_MARK_LT "); break; case NFA_CURSOR: STRCPY(code, "NFA_CURSOR "); break; -#ifdef FEAT_VISUAL case NFA_VISUAL: STRCPY(code, "NFA_VISUAL "); break; -#endif case NFA_STAR: STRCPY(code, "NFA_STAR "); break; case NFA_STAR_NONGREEDY: STRCPY(code, "NFA_STAR_NONGREEDY "); break; @@ -4093,9 +4087,7 @@ failure_chance(state, depth) case NFA_VCOL_LT: case NFA_MARK_GT: case NFA_MARK_LT: -#ifdef FEAT_VISUAL case NFA_VISUAL: -#endif /* before/after positions don't match very often */ return 85; @@ -5036,14 +5028,14 @@ nfa_regmatch(prog, start, submatch, m) t->pim, &listidx); break; -#ifdef FEAT_VISUAL case NFA_VISUAL: +#ifdef FEAT_VISUAL result = reg_match_visual(); if (result) addstate_here(thislist, t->state->out, &t->subs, t->pim, &listidx); - break; #endif + break; default: /* regular character */ { diff --git a/src/version.c b/src/version.c index 40f3df8617..bd19cfdc73 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1125, +/**/ 1124, /**/ 1123, |