Bram,
this patch fixes this issue from the todo list:
,----
| Space before comma in function definition not allowed: "function x(a , b)"
| Give a more appropriate error message. Add a remark to the docs.
`----
regards,
Christian
--
Aus Lügen, die wir glauben, werden Wahrheiten, mit denen wir leben.
-- Oliver Hassencamp
--
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
diff --git a/src/eval.c b/src/eval.c
--- a/src/eval.c
+++ b/src/eval.c
@@ -21102,6 +21102,7 @@
((char_u **)(newargs.ga_data))[newargs.ga_len] = arg;
*p = c;
newargs.ga_len++;
+ p = skipwhite(p);
if (*p == ',')
++p;
else