0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

updated for version 7.3.1114

Problem:    Can't build without the syntax feature.
Solution:   Add #ifdefs. (Erik Falor)
This commit is contained in:
Bram Moolenaar
2013-06-04 21:42:22 +02:00
parent 044aa290c5
commit b76591ef4a
2 changed files with 6 additions and 0 deletions

View File

@@ -3907,7 +3907,9 @@ failure_chance(state, depth)
if (c > 0) if (c > 0)
return 99; return 99;
if ((c >= NFA_MOPEN && c <= NFA_MOPEN9) if ((c >= NFA_MOPEN && c <= NFA_MOPEN9)
#ifdef FEAT_SYN_HL
|| (c >= NFA_ZOPEN && c <= NFA_ZOPEN9) || (c >= NFA_ZOPEN && c <= NFA_ZOPEN9)
#endif
|| c == NFA_NOPEN) || c == NFA_NOPEN)
return failure_chance(state->out, depth + 1); return failure_chance(state->out, depth + 1);
/* something else */ /* something else */
@@ -4201,7 +4203,9 @@ nfa_regmatch(prog, start, submatch, m)
* Otherwise first do the one that has the highest chance * Otherwise first do the one that has the highest chance
* of failing. */ * of failing. */
if ((cout >= NFA_MCLOSE && cout <= NFA_MCLOSE9) if ((cout >= NFA_MCLOSE && cout <= NFA_MCLOSE9)
#ifdef FEAT_SYN_HL
|| (cout >= NFA_ZCLOSE && cout <= NFA_ZCLOSE9) || (cout >= NFA_ZCLOSE && cout <= NFA_ZCLOSE9)
#endif
|| cout == NFA_NCLOSE || cout == NFA_NCLOSE
|| t->pim != NULL || t->pim != NULL
|| (t->state->c != NFA_START_INVISIBLE_BEFORE || (t->state->c != NFA_START_INVISIBLE_BEFORE

View File

@@ -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 */
/**/
1114,
/**/ /**/
1113, 1113,
/**/ /**/