Mercurial > vim
comparison src/structs.h @ 21208:09377fd59b2e v8.2.1155
patch 8.2.1155: Vim9: cannot handle line break inside lambda
Commit: https://github.com/vim/vim/commit/7a4b8980ea5ecaea061caae7816ea62cc4940011
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 8 17:36:21 2020 +0200
patch 8.2.1155: Vim9: cannot handle line break inside lambda
Problem: Vim9: cannot handle line break inside lambda.
Solution: Pass the compilation context through. (closes https://github.com/vim/vim/issues/6407, closes https://github.com/vim/vim/issues/6409)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jul 2020 17:45:06 +0200 |
parents | caab594592cc |
children | ad13736a1783 |
comparison
equal
deleted
inserted
replaced
21207:2a1156d4950f | 21208:09377fd59b2e |
---|---|
1763 | 1763 |
1764 // copied from exarg_T when "getline" is "getsourceline". Can be NULL. | 1764 // copied from exarg_T when "getline" is "getsourceline". Can be NULL. |
1765 char_u *(*eval_getline)(int, void *, int, int); | 1765 char_u *(*eval_getline)(int, void *, int, int); |
1766 void *eval_cookie; // argument for eval_getline() | 1766 void *eval_cookie; // argument for eval_getline() |
1767 | 1767 |
1768 // used when compiling a :def function, NULL otherwise | |
1769 cctx_T *eval_cctx; | |
1770 | |
1768 // Used to collect lines while parsing them, so that they can be | 1771 // Used to collect lines while parsing them, so that they can be |
1769 // concatenated later. Used when "eval_ga.ga_itemsize" is not zero. | 1772 // concatenated later. Used when "eval_ga.ga_itemsize" is not zero. |
1770 // "eval_ga.ga_data" is a list of pointers to lines. | 1773 // "eval_ga.ga_data" is a list of pointers to lines. |
1771 garray_T eval_ga; | 1774 garray_T eval_ga; |
1772 | 1775 |