Patch 8.2.3343 (after 8.2.3342)
Problem: Vim9: autoload test fails.
Solution: Adjust the way the second message is avoided
Files: src/evalvars.c
*** ../vim-8.2.3342/src/evalvars.c 2021-08-14 14:27:26.451597297 +0200
--- src/evalvars.c 2021-08-14 14:55:38.960385662 +0200
***************
*** 1184,1190 ****
char_u *arg_subsc;
char_u *tofree;
typval_T tv;
- int prev_uncaught_emsg = uncaught_emsg;
while (!ends_excmd2(eap->cmd, arg) && !got_int)
{
--- 1184,1189 ----
***************
*** 1194,1200 ****
if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg))
{
emsg_severe = TRUE;
! if (uncaught_emsg == prev_uncaught_emsg)
semsg(_(e_trailing_arg), arg);
break;
}
--- 1193,1199 ----
if (!VIM_ISWHITE(*arg) && !ends_excmd(*arg))
{
emsg_severe = TRUE;
! if (!did_emsg)
semsg(_(e_trailing_arg), arg);
break;
}
*** ../vim-8.2.3342/src/version.c 2021-08-14 14:27:26.451597297 +0200
--- src/version.c 2021-08-14 14:56:31.024280818 +0200
***************
*** 757,758 ****
--- 757,760 ----
{ /* Add new patch number below this line */
+ /**/
+ 3343,
/**/
--
ARTHUR: Go on, Bors, chop its head off.
BORS: Right. Silly little bleeder. One rabbit stew coming up.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202108141300.17ED0Krb3743284%40masaka.moolenaar.net.