diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-28 18:43:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-28 18:43:40 +0200 |
commit | b7a78f7a6713f07d2fcad0b27dea22925c7b1cdf (patch) | |
tree | f1eb802f74a924f91ba0ceddde5db8229c75aeda /src/structs.h | |
parent | d5053d015a957b343ad9c9e45e0abd2978f10cf0 (diff) | |
download | vim-git-b7a78f7a6713f07d2fcad0b27dea22925c7b1cdf.tar.gz |
patch 8.2.1080: Vim9: no line break allowed in a for loopv8.2.1080
Problem: Vim9: no line break allowed in a for loop.
Solution: Skip line breaks in for command.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index fd5ae2aa2..cab6885e4 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1758,11 +1758,12 @@ typedef struct // Struct passed through eval() functions. // See EVALARG_EVALUATE for a fixed value with eval_flags set to EVAL_EVALUATE. typedef struct { - int eval_flags; // EVAL_ flag values below + int eval_flags; // EVAL_ flag values below + int eval_break_count; // nr of line breaks consumed // copied from exarg_T when "getline" is "getsourceline". Can be NULL. char_u *(*eval_getline)(int, void *, int, int); - void *eval_cookie; // argument for eval_getline() + void *eval_cookie; // argument for eval_getline() // Used to collect lines while parsing them, so that they can be // concatenated later. Used when "eval_ga.ga_itemsize" is not zero. |