]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.190 v7.3.190
authorBram Moolenaar <Bram@vim.org>
Thu, 19 May 2011 10:14:10 +0000 (12:14 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 19 May 2011 10:14:10 +0000 (12:14 +0200)
Problem:    When there is a "containedin" syntax argument highlighting may be
            wrong. (Radek)
Solution:   Reset current_next_list. (Ben Schmidt)

src/syntax.c
src/version.c

index 57fab0c9a6ec902ad330ff2603993b089ad231ed..da648e398e1df0f5ea8da666d07b8f2efe716686 100644 (file)
@@ -2566,6 +2566,9 @@ check_state_ends()
 #endif
                update_si_attr(current_state.ga_len - 1);
 
+               /* nextgroup= should not match in the end pattern */
+               current_next_list = NULL;
+
                /* what matches next may be different now, clear it */
                next_match_idx = 0;
                next_match_col = MAXCOL;
index d4c1517e9585190f376d146e627b84a711ff7fb1..c83ba0e2f2e65c93ff779e7cb2d8a2eaf4ecd34c 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    190,
 /**/
     189,
 /**/