From: Bram Moolenaar Date: Thu, 23 May 2013 20:25:15 +0000 (+0200) Subject: updated for version 7.3.1006 X-Git-Tag: v7.3.1006 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=307d10a2fb15879cf34f7ecfdcaca551991014a8;p=thirdparty%2Fvim.git updated for version 7.3.1006 Problem: NFA engine not used for "\_[0-9]". Solution: Enable this, fixed in patch 1005. --- diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c index 0bbed878fc..157d3ebad5 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -679,9 +679,7 @@ nfa_regatom() /* "\_[" is collection plus newline */ if (c == '[') - /* TODO: make this work - * goto collection; */ - return FAIL; + goto collection; /* "\_x" is character class plus newline */ /*FALLTHROUGH*/ @@ -891,8 +889,8 @@ nfa_regatom() } break; -/* collection: */ case Magic('['): +collection: /* * Glue is emitted between several atoms from the []. * It is either NFA_OR, or NFA_CONCAT. diff --git a/src/version.c b/src/version.c index b7c1ddfe7d..b8835be3b7 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1006, /**/ 1005, /**/