diff --git a/src/syntax.c b/src/syntax.c index 937fbf186..badb22642 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -5833,6 +5833,11 @@ syn_cmd_sync(eap, syncing) } else if (STRCMP(key, "LINECONT") == 0) { + if (*next_arg == NUL) /* missing pattern */ + { + illegal = TRUE; + break; + } if (curwin->w_s->b_syn_linecont_pat != NULL) { EMSG(_("E403: syntax sync: line continuations pattern specified twice")); diff --git a/src/version.c b/src/version.c index 6cb4c8dbe..23f9ed016 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1054, /**/ 1053, /**/