From 3a7d8c3adb80c26564fa2e25f0edda38c905c3a3 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Thu, 19 May 2011 12:14:10 +0200 Subject: [PATCH] updated for version 7.3.190 Problem: When there is a "containedin" syntax argument highlighting may be wrong. (Radek) Solution: Reset current_next_list. (Ben Schmidt) --- src/syntax.c | 3 +++ src/version.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/syntax.c b/src/syntax.c index 57fab0c9a6..da648e398e 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -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; diff --git a/src/version.c b/src/version.c index d4c1517e95..c83ba0e2f2 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 190, /**/ 189, /**/ -- GitLab