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.
|
// Check for trailing illegal characters and a following command.
|
||||||
if (!ends_excmd(*arg))
|
if (!ends_excmd(*arg))
|
||||||
{
|
{
|
||||||
emsg_severe = TRUE;
|
if (!failed)
|
||||||
emsg(_(e_trailing));
|
{
|
||||||
|
emsg_severe = TRUE;
|
||||||
|
emsg(_(e_trailing));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
eap->nextcmd = check_nextcmd(arg);
|
eap->nextcmd = check_nextcmd(arg);
|
||||||
|
@@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
268,
|
||||||
/**/
|
/**/
|
||||||
267,
|
267,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user