0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.1130: Vim9: bar not recognized after function call

Problem:    Vim9: bar not recognized after function call
Solution:   Skip whitespace. (closes #6391)
This commit is contained in:
Bram Moolenaar
2020-07-05 15:32:17 +02:00
parent e9f262bdff
commit 788123c00c
3 changed files with 11 additions and 1 deletions

View File

@@ -6985,7 +6985,8 @@ compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx)
// drop the return value
generate_instr_drop(&cctx, ISN_DROP, 1);
line = p;
line = skipwhite(p);
continue;
}
// CMD_let cannot happen, compile_assignment() above is used