summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/syntax.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index f9fbb0129c..e824682a58 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2495,7 +2495,7 @@ check_state_ends()
if (current_state.ga_len == 0)
break;
- if (had_extend)
+ if (had_extend && keepend_level >= 0)
{
syn_update_ends(FALSE);
if (current_state.ga_len == 0)
diff --git a/src/version.c b/src/version.c
index 467a514c12..bf6941ebb3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 218,
+/**/
217,
/**/
216,