summaryrefslogtreecommitdiff
path: root/src/vim9compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r--src/vim9compile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c
index 5c3d08d30..b4209a1fe 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -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