1
0
forked from aniani/vim

updated for version 7.3.1006

Problem:    NFA engine not used for "\_[0-9]".
Solution:   Enable this, fixed in patch 1005.
This commit is contained in:
Bram Moolenaar
2013-05-23 22:25:15 +02:00
parent 35b2386a8e
commit 307d10a2fb
2 changed files with 4 additions and 4 deletions

View File

@@ -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.

View File

@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1006,
/**/
1005,
/**/