summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-27 18:06:45 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-27 18:06:45 +0200
commite40fbc2ca9fda07332a4da5af1fcaba91bed865b (patch)
tree66b7aa861de9c07cc5d04c5647f0bee8d61cb19e /src/globals.h
parentab19d495fd880b25a38d58cbeb5b21e4d0ee5835 (diff)
downloadvim-git-e40fbc2ca9fda07332a4da5af1fcaba91bed865b.tar.gz
patch 8.2.1071: Vim9: no line break allowed inside a lambdav8.2.1071
Problem: Vim9: no line break allowed inside a lambda. Solution: Handle line break inside a lambda in Vim9 script.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index 03a693756..81903818b 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1883,7 +1883,11 @@ EXTERN char windowsVersion[20] INIT(= {0});
EXTERN listitem_T range_list_item;
// Passed to an eval() function to enable evaluation.
-EXTERN evalarg_T EVALARG_EVALUATE INIT3(EVAL_EVALUATE, NULL, NULL);
+EXTERN evalarg_T EVALARG_EVALUATE
+# ifdef DO_INIT
+ = {EVAL_EVALUATE, NULL, {0, 0, 0, 0, NULL}, NULL}
+# endif
+ ;
#endif
#ifdef MSWIN