diff --git a/src/syntax.c b/src/syntax.c
index 57fab0c9a6ec902ad330ff2603993b089ad231ed..da648e398e1df0f5ea8da666d07b8f2efe716686 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 d4c1517e9585190f376d146e627b84a711ff7fb1..c83ba0e2f2e65c93ff779e7cb2d8a2eaf4ecd34c 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,
 /**/