Patch 9.0.0377 (after 9.0.0376)
Problem: Argument assignment does not work.
Solution: Skip over "=".
Files: src/userfunc.c
*** ../vim-9.0.0376/src/userfunc.c 2022-09-04 12:47:15.414692249 +0100
--- src/userfunc.c 2022-09-04 13:34:02.255756885 +0100
***************
*** 311,317 ****
// find the end of the expression (doesn't evaluate it)
any_default = TRUE;
! p = skipwhite(p) + 1;
expr = p;
if (eval1(&p, &rettv, NULL) != FAIL)
{
--- 311,317 ----
// find the end of the expression (doesn't evaluate it)
any_default = TRUE;
! p = skipwhite(np + 1);
expr = p;
if (eval1(&p, &rettv, NULL) != FAIL)
{
*** ../vim-9.0.0376/src/version.c 2022-09-04 12:47:15.414692249 +0100
--- src/version.c 2022-09-04 13:34:46.067754019 +0100
***************
*** 705,706 ****
--- 705,708 ----
{ /* Add new patch number below this line */
+ /**/
+ 377,
/**/
--
A radioactive cat has eighteen half-lives.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///