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 -- [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/20220904124641.E554E1C0CE4%40moolenaar.net.