Skip to content

Commit 40d9da2

Browse files
committed
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.
1 parent e51bb17 commit 40d9da2

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/userfunc.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3560,8 +3560,11 @@ ex_call(exarg_T *eap)
35603560
// Check for trailing illegal characters and a following command.
35613561
if (!ends_excmd(*arg))
35623562
{
3563-
emsg_severe = TRUE;
3564-
emsg(_(e_trailing));
3563+
if (!failed)
3564+
{
3565+
emsg_severe = TRUE;
3566+
emsg(_(e_trailing));
3567+
}
35653568
}
35663569
else
35673570
eap->nextcmd = check_nextcmd(arg);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -742,6 +742,8 @@ static char *(features[]) =
742742

743743
static int included_patches[] =
744744
{ /* Add new patch number below this line */
745+
/**/
746+
268,
745747
/**/
746748
267,
747749
/**/

0 commit comments

Comments
 (0)