comparison src/structs.h @ 21058:111f877e63d9 v8.2.1080

patch 8.2.1080: Vim9: no line break allowed in a for loop Commit: https://github.com/vim/vim/commit/b7a78f7a6713f07d2fcad0b27dea22925c7b1cdf Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 28 18:43:40 2020 +0200 patch 8.2.1080: Vim9: no line break allowed in a for loop Problem: Vim9: no line break allowed in a for loop. Solution: Skip line breaks in for command.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jun 2020 18:45:04 +0200
parents a7c202f5cbe9
children caab594592cc
comparison
equal deleted inserted replaced
21057:77d9be8bbf27 21058:111f877e63d9
1756 } scriptitem_T; 1756 } scriptitem_T;
1757 1757
1758 // Struct passed through eval() functions. 1758 // Struct passed through eval() functions.
1759 // See EVALARG_EVALUATE for a fixed value with eval_flags set to EVAL_EVALUATE. 1759 // See EVALARG_EVALUATE for a fixed value with eval_flags set to EVAL_EVALUATE.
1760 typedef struct { 1760 typedef struct {
1761 int eval_flags; // EVAL_ flag values below 1761 int eval_flags; // EVAL_ flag values below
1762 int eval_break_count; // nr of line breaks consumed
1762 1763
1763 // copied from exarg_T when "getline" is "getsourceline". Can be NULL. 1764 // copied from exarg_T when "getline" is "getsourceline". Can be NULL.
1764 char_u *(*eval_getline)(int, void *, int, int); 1765 char_u *(*eval_getline)(int, void *, int, int);
1765 void *eval_cookie; // argument for eval_getline() 1766 void *eval_cookie; // argument for eval_getline()
1766 1767
1767 // Used to collect lines while parsing them, so that they can be 1768 // Used to collect lines while parsing them, so that they can be
1768 // concatenated later. Used when "eval_ga.ga_itemsize" is not zero. 1769 // concatenated later. Used when "eval_ga.ga_itemsize" is not zero.
1769 // "eval_ga.ga_data" is a list of pointers to lines. 1770 // "eval_ga.ga_data" is a list of pointers to lines.
1770 garray_T eval_ga; 1771 garray_T eval_ga;