mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3343: Vim9: autoload test fails
Problem: Vim9: autoload test fails. Solution: Adjust the way the second message is avoided
This commit is contained in:
parent
b521766c56
commit
4830c211a4
@ -1184,7 +1184,6 @@ list_arg_vars(exarg_T *eap, char_u *arg, int *first)
|
|||||||
char_u *arg_subsc;
|
char_u *arg_subsc;
|
||||||
char_u *tofree;
|
char_u *tofree;
|
||||||
typval_T tv;
|
typval_T tv;
|
||||||
int prev_uncaught_emsg = uncaught_emsg;
|
|
||||||
|
|
||||||
while (!ends_excmd2(eap->cmd, arg) && !got_int)
|
while (!ends_excmd2(eap->cmd, arg) && !got_int)
|
||||||
{
|
{
|
||||||
@ -1194,7 +1193,7 @@ list_arg_vars(exarg_T *eap, char_u *arg, int *first)
|
|||||||
if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg))
|
if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg))
|
||||||
{
|
{
|
||||||
emsg_severe = TRUE;
|
emsg_severe = TRUE;
|
||||||
if (uncaught_emsg == prev_uncaught_emsg)
|
if (!did_emsg)
|
||||||
semsg(_(e_trailing_arg), arg);
|
semsg(_(e_trailing_arg), arg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -755,6 +755,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 */
|
||||||
|
/**/
|
||||||
|
3343,
|
||||||
/**/
|
/**/
|
||||||
3342,
|
3342,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user