mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
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.
40d9da2a43
This commit is contained in:
@@ -2920,8 +2920,10 @@ void ex_call(exarg_T *eap)
|
||||
if (!failed || eap->cstack->cs_trylevel > 0) {
|
||||
// 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