]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.1107 v7.3.1107
authorBram Moolenaar <Bram@vim.org>
Mon, 3 Jun 2013 17:41:06 +0000 (19:41 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 3 Jun 2013 17:41:06 +0000 (19:41 +0200)
Problem:    Compiler warnings for unused variables.
Solution:   Put the variables inside #ifdef.

src/regexp.c
src/regexp_nfa.c
src/version.c

index 2804f8062cc5c1b0d3f98a4686ee27a7eff89937..369516aed6c8f46d69e498ec8c138fa731c9f70f 100644 (file)
@@ -361,8 +361,10 @@ static char_u e_missingbracket[] = N_("E769: Missing ] after %s[");
 static char_u e_unmatchedpp[] = N_("E53: Unmatched %s%%(");
 static char_u e_unmatchedp[] = N_("E54: Unmatched %s(");
 static char_u e_unmatchedpar[] = N_("E55: Unmatched %s)");
+#ifdef FEAT_SYN_HL
 static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here");
 static char_u e_z1_not_allowed[] = N_("E67: \\z1 et al. not allowed here");
+#endif
 
 #define NOT_MULTI      0
 #define MULTI_ONE      1
index 1bb82fddee7898db62a5b61fc352f82095352106..75cbb2ae4527bfaef70808709ce233b377ece5a4 100644 (file)
@@ -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, extra_newl)
     if (*p == '^')
     {
        not = TRUE;
-       p ++;
+       p++;
     }
 
     while (p < end)
index 7787b89204f5710daf740973534a3bbfbf5b8a33..d9a3a88e5655121a1eaa4171ae9411e069482299 100644 (file)
@@ -728,6 +728,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1107,
 /**/
     1106,
 /**/