# HG changeset patch # User Bram Moolenaar # Date 1581930904 -3600 # Node ID 208644ebdff820d654ef3419a94cdcc7f39e94a1 # Parent 0e875bece7ac58dedf48b010e6394d75023fa86d patch 8.2.0268: trycatch test fails Commit: https://github.com/vim/vim/commit/40d9da2a4395025169ebaf53a63618adfa737e96 Author: Bram Moolenaar Date: Mon Feb 17 10:01:24 2020 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 268, +/**/ 267, /**/ 266,