0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-02-17 10:01:24 +01:00
parent e51bb17dd0
commit 40d9da2a43
2 changed files with 7 additions and 2 deletions

View File

@@ -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);

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
268,
/**/
267,
/**/