mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +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) {
|
if (!failed || eap->cstack->cs_trylevel > 0) {
|
||||||
// Check for trailing illegal characters and a following command.
|
// Check for trailing illegal characters and a following command.
|
||||||
if (!ends_excmd(*arg)) {
|
if (!ends_excmd(*arg)) {
|
||||||
|
if (!failed) {
|
||||||
emsg_severe = true;
|
emsg_severe = true;
|
||||||
EMSG(_(e_trailing));
|
EMSG(_(e_trailing));
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
eap->nextcmd = check_nextcmd(arg);
|
eap->nextcmd = check_nextcmd(arg);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user