Patch 8.2.0268

12 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 17, 2020, 4:02:08 AM2/17/20
to vim...@googlegroups.com

Patch 8.2.0268 (after 8.2.0267)
Problem: Trycatch test fails.
Solution: When calling function fails only check for following command, do
not give another error.
Files: src/userfunc.c


*** ../vim-8.2.0267/src/userfunc.c 2020-02-16 19:42:18.877413180 +0100
--- src/userfunc.c 2020-02-17 09:59:41.059286669 +0100
***************
*** 3560,3567 ****
// Check for trailing illegal characters and a following command.
if (!ends_excmd(*arg))
{
! emsg_severe = TRUE;
! emsg(_(e_trailing));
}
else
eap->nextcmd = check_nextcmd(arg);
--- 3560,3570 ----
// Check for trailing illegal characters and a following command.
if (!ends_excmd(*arg))
{
! if (!failed)
! {
! emsg_severe = TRUE;
! emsg(_(e_trailing));
! }
}
else
eap->nextcmd = check_nextcmd(arg);
*** ../vim-8.2.0267/src/version.c 2020-02-16 19:42:18.877413180 +0100
--- src/version.c 2020-02-17 10:00:51.435018074 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 268,
/**/

--
From "know your smileys":
~#:-( I just washed my hair, and I can't do nuthin' with it.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages