comparison src/proto/vim9compile.pro @ 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 afed2045ffc9
children 1f4d0375f947
comparison
equal deleted inserted replaced
21207:2a1156d4950f 21208:09377fd59b2e
6 type_T *parse_type(char_u **arg, garray_T *type_gap); 6 type_T *parse_type(char_u **arg, garray_T *type_gap);
7 char *vartype_name(vartype_T type); 7 char *vartype_name(vartype_T type);
8 char *type_name(type_T *type, char **tofree); 8 char *type_name(type_T *type, char **tofree);
9 int get_script_item_idx(int sid, char_u *name, int check_writable); 9 int get_script_item_idx(int sid, char_u *name, int check_writable);
10 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx); 10 imported_T *find_imported(char_u *name, size_t len, cctx_T *cctx);
11 char_u *peek_next_line_from_context(cctx_T *cctx);
12 char_u *next_line_from_context(cctx_T *cctx, int skip_comment);
11 char_u *to_name_const_end(char_u *arg); 13 char_u *to_name_const_end(char_u *arg);
12 int assignment_len(char_u *p, int *heredoc); 14 int assignment_len(char_u *p, int *heredoc);
13 void vim9_declare_error(char_u *name); 15 void vim9_declare_error(char_u *name);
14 int check_vim9_unlet(char_u *name); 16 int check_vim9_unlet(char_u *name);
15 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx); 17 int compile_def_function(ufunc_T *ufunc, int set_return_type, cctx_T *outer_cctx);