commit | 170fcfcf250954d76fca86e3fed088ddfdb49383 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Feb 06 17:51:35 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Feb 06 17:51:35 2020 +0100 |
tree | 8bb4fddeecab3a9e4e5f8c0e6917977f72ffaf32 | |
parent | 6e587dcbf319ea898ef50f7e367c46586a6f408a [diff] [blame] |
patch 8.2.0222: Vim9: optional function arguments don't work yet Problem: Vim9: optional function arguments don't work yet. Solution: Implement optional function arguments.
diff --git a/src/userfunc.c b/src/userfunc.c index ef1d42d..3c2673d 100644 --- a/src/userfunc.c +++ b/src/userfunc.c
@@ -200,6 +200,7 @@ { typval_T rettv; + // find the end of the expression (doesn't evaluate it) any_default = TRUE; p = skipwhite(p) + 1; p = skipwhite(p);