Mercurial > vim
diff src/regexp_nfa.c @ 4720:bd6bef0bd0fb v7.3.1107
updated for version 7.3.1107
Problem: Compiler warnings for unused variables.
Solution: Put the variables inside #ifdef.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 03 Jun 2013 19:41:06 +0200 |
parents | ec72bb4a0fc2 |
children | 3849c811cc0b |
line wrap: on
line diff
--- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -237,8 +237,10 @@ static int nfa_has_zend; /* NFA regexp \1 .. \9 encountered. */ static int nfa_has_backref; +#ifdef FEAT_SYN_HL /* NFA regexp has \z( ), set zsubexpr. */ static int nfa_has_zsubexpr; +#endif /* Number of sub expressions actually being used during execution. 1 if only * the whole match (subexpr 0) is used. */ @@ -420,7 +422,7 @@ nfa_recognize_char_class(start, end, ext if (*p == '^') { not = TRUE; - p ++; + p++; } while (p < end)