comparison src/proto/vim9compile.pro @ 28281:bd1dcc605e58 v8.2.4666

patch 8.2.4666: Vim9: assignment not recognized in skipped block Commit: https://github.com/vim/vim/commit/97f8c1081ec6d6d158bb51e18fa23a36d3ed5623 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 2 19:43:57 2022 +0100 patch 8.2.4666: Vim9: assignment not recognized in skipped block Problem: Vim9: assignment not recognized in skipped block. Solution: When skipping assume identifier exists. (closes https://github.com/vim/vim/issues/10059)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Apr 2022 20:45:03 +0200
parents 3bc0a639dfb0
children 060fc3b69697
comparison
equal deleted inserted replaced
28280:e998d4284855 28281:bd1dcc605e58
16 int may_get_next_line_error(char_u *whitep, char_u **arg, cctx_T *cctx); 16 int may_get_next_line_error(char_u *whitep, char_u **arg, cctx_T *cctx);
17 void fill_exarg_from_cctx(exarg_T *eap, cctx_T *cctx); 17 void fill_exarg_from_cctx(exarg_T *eap, cctx_T *cctx);
18 int func_needs_compiling(ufunc_T *ufunc, compiletype_T compile_type); 18 int func_needs_compiling(ufunc_T *ufunc, compiletype_T compile_type);
19 int assignment_len(char_u *p, int *heredoc); 19 int assignment_len(char_u *p, int *heredoc);
20 void vim9_declare_error(char_u *name); 20 void vim9_declare_error(char_u *name);
21 int get_var_dest(char_u *name, assign_dest_T *dest, int cmdidx, int *option_scope, int *vimvaridx, type_T **type, cctx_T *cctx); 21 int get_var_dest(char_u *name, assign_dest_T *dest, cmdidx_T cmdidx, int *option_scope, int *vimvaridx, type_T **type, cctx_T *cctx);
22 int compile_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int heredoc, int oplen, cctx_T *cctx); 22 int compile_lhs(char_u *var_start, lhs_T *lhs, cmdidx_T cmdidx, int heredoc, int has_cmd, int oplen, cctx_T *cctx);
23 int compile_assign_lhs(char_u *var_start, lhs_T *lhs, int cmdidx, int is_decl, int heredoc, int oplen, cctx_T *cctx); 23 int compile_assign_lhs(char_u *var_start, lhs_T *lhs, cmdidx_T cmdidx, int is_decl, int heredoc, int has_cmd, int oplen, cctx_T *cctx);
24 int compile_load_lhs_with_index(lhs_T *lhs, char_u *var_start, cctx_T *cctx); 24 int compile_load_lhs_with_index(lhs_T *lhs, char_u *var_start, cctx_T *cctx);
25 int compile_assign_unlet(char_u *var_start, lhs_T *lhs, int is_assign, type_T *rhs_type, cctx_T *cctx); 25 int compile_assign_unlet(char_u *var_start, lhs_T *lhs, int is_assign, type_T *rhs_type, cctx_T *cctx);
26 compiletype_T get_compile_type(ufunc_T *ufunc); 26 compiletype_T get_compile_type(ufunc_T *ufunc);
27 int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx); 27 int compile_def_function(ufunc_T *ufunc, int check_return_type, compiletype_T compile_type, cctx_T *outer_cctx);
28 void set_function_type(ufunc_T *ufunc); 28 void set_function_type(ufunc_T *ufunc);