From: Bram Moolenaar Date: Mon, 17 Feb 2020 09:01:24 +0000 (+0100) Subject: patch 8.2.0268: trycatch test fails X-Git-Tag: v8.2.0268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40d9da2a4395025169ebaf53a63618adfa737e96;p=vim patch 8.2.0268: trycatch test fails Problem: Trycatch test fails. Solution: When calling function fails only check for following command, do not give another error. --- diff --git a/src/userfunc.c b/src/userfunc.c index d1d497d69..fc2161f51 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -3560,8 +3560,11 @@ ex_call(exarg_T *eap) // Check for trailing illegal characters and a following command. if (!ends_excmd(*arg)) { - emsg_severe = TRUE; - emsg(_(e_trailing)); + if (!failed) + { + emsg_severe = TRUE; + emsg(_(e_trailing)); + } } else eap->nextcmd = check_nextcmd(arg); diff --git a/src/version.c b/src/version.c index 73a70cdf2..afac47d7e 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 268, /**/ 267, /**/