patch 8.2.1079: Vim9: no line break allowed in a while loop
Problem: Vim9: no line break allowed in a while loop.
Solution: Update stored loop lines when finding line breaks.
diff --git a/src/structs.h b/src/structs.h
index d68bc01..fd5ae2a 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1761,7 +1761,8 @@
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.