1
0
forked from aniani/vim

patch 9.0.0377: argument assignment does not work

Problem:    Argument assignment does not work.
Solution:   Skip over "=".
This commit is contained in:
Bram Moolenaar 2022-09-04 13:41:37 +01:00
parent 6b085b9d73
commit eb5adf19d1
2 changed files with 3 additions and 1 deletions

View File

@ -311,7 +311,7 @@ get_function_args(
// find the end of the expression (doesn't evaluate it)
any_default = TRUE;
p = skipwhite(p) + 1;
p = skipwhite(np + 1);
expr = p;
if (eval1(&p, &rettv, NULL) != FAIL)
{

View File

@ -703,6 +703,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
377,
/**/
376,
/**/