patch 9.0.0377: argument assignment does not work
Problem: Argument assignment does not work.
Solution: Skip over "=".
diff --git a/src/userfunc.c b/src/userfunc.c
index 0c6f993..a227031 100644
--- a/src/userfunc.c
+++ b/src/userfunc.c
@@ -311,7 +311,7 @@
// 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)
{
diff --git a/src/version.c b/src/version.c
index 1e3f9a3..1f6ba8c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 377,
+/**/
376,
/**/
375,