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:
@@ -679,9 +679,7 @@ nfa_regatom()
|
|||||||
|
|
||||||
/* "\_[" is collection plus newline */
|
/* "\_[" is collection plus newline */
|
||||||
if (c == '[')
|
if (c == '[')
|
||||||
/* TODO: make this work
|
goto collection;
|
||||||
* goto collection; */
|
|
||||||
return FAIL;
|
|
||||||
|
|
||||||
/* "\_x" is character class plus newline */
|
/* "\_x" is character class plus newline */
|
||||||
/*FALLTHROUGH*/
|
/*FALLTHROUGH*/
|
||||||
@@ -891,8 +889,8 @@ nfa_regatom()
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* collection: */
|
|
||||||
case Magic('['):
|
case Magic('['):
|
||||||
|
collection:
|
||||||
/*
|
/*
|
||||||
* Glue is emitted between several atoms from the [].
|
* Glue is emitted between several atoms from the [].
|
||||||
* It is either NFA_OR, or NFA_CONCAT.
|
* It is either NFA_OR, or NFA_CONCAT.
|
||||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1006,
|
||||||
/**/
|
/**/
|
||||||
1005,
|
1005,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user