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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user