diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-27 18:06:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-27 18:06:45 +0200 |
commit | e40fbc2ca9fda07332a4da5af1fcaba91bed865b (patch) | |
tree | 66b7aa861de9c07cc5d04c5647f0bee8d61cb19e /src/structs.h | |
parent | ab19d495fd880b25a38d58cbeb5b21e4d0ee5835 (diff) | |
download | vim-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/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index e308ff448..d68bc0184 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1763,6 +1763,11 @@ typedef struct { // copied from exarg_T when "getline" is "getsourceline". Can be NULL. void *eval_cookie; // argument for getline() + // Used to collect lines while parsing them, so that they can be + // concatenated later. Used when "eval_ga.ga_itemsize" is not zero. + // "eval_ga.ga_data" is a list of pointers to lines. + garray_T eval_ga; + // pointer to the line obtained with getsourceline() char_u *eval_tofree; } evalarg_T; |