diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-04-12 21:53:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-04-12 21:53:00 +0200 |
commit | 5e774c7579a4a00d3f44fdcfcb56861bd73372e4 (patch) | |
tree | 261c692f01dcda144b986707d0ca89c5c914daa5 /src/vim9compile.c | |
parent | 9c7e6dd653b62f54324f3c00d69cb348d8611a9f (diff) | |
download | vim-git-5e774c7579a4a00d3f44fdcfcb56861bd73372e4.tar.gz |
patch 8.2.0563: Vim9: cannot split a function linev8.2.0563
Problem: Vim9: cannot split a function line.
Solution: Continue in next line so long as the function isn't done.
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 7e7ecb864..e39ddeeca 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -3275,8 +3275,9 @@ compile_expr7(char_u **arg, cctx_T *cctx) char_u *start = skipwhite(*arg + 1); // Find out what comes after the arguments. + // TODO: pass getline function ret = get_function_args(&start, '-', NULL, - NULL, NULL, NULL, TRUE); + NULL, NULL, NULL, TRUE, NULL, NULL); if (ret != FAIL && *start == '>') ret = compile_lambda(arg, cctx); else |