diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-28 15:51:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-28 15:51:16 +0200 |
commit | d5053d015a957b343ad9c9e45e0abd2978f10cf0 (patch) | |
tree | 4154d4cd881536a310adec7425bcb9e1c05da85d /src/structs.h | |
parent | 06cf97e714fd8bf9b35ff5f8a6f2302c79acdd03 (diff) | |
download | vim-git-d5053d015a957b343ad9c9e45e0abd2978f10cf0.tar.gz |
patch 8.2.1079: Vim9: no line break allowed in a while loopv8.2.1079
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index d68bc0184..fd5ae2aa2 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1761,7 +1761,8 @@ typedef struct { int eval_flags; // EVAL_ flag values below // copied from exarg_T when "getline" is "getsourceline". Can be NULL. - void *eval_cookie; // argument for getline() + char_u *(*eval_getline)(int, void *, int, int); + 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. |