comparison src/proto/evalvars.pro @ 28560:060fc3b69697 v8.2.4804

patch 8.2.4804: expression in heredoc doesn't work for compiled function Commit: https://github.com/vim/vim/commit/1fc6ea9bf3548b578676331f5eac1f7e0611c268 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Apr 21 23:30:15 2022 +0100 patch 8.2.4804: expression in heredoc doesn't work for compiled function Problem: Expression in heredoc doesn't work for compiled function. Solution: Implement compiling the heredoc expressions. (Yegappan Lakshmanan, closes #10232)
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Apr 2022 00:45:04 +0200
parents b96409b84eaf
children 723c7d940cba
comparison
equal deleted inserted replaced
28559:a9388feb437d 28560:060fc3b69697
11 void eval_patch(char_u *origfile, char_u *difffile, char_u *outfile); 11 void eval_patch(char_u *origfile, char_u *difffile, char_u *outfile);
12 list_T *eval_spell_expr(char_u *badword, char_u *expr); 12 list_T *eval_spell_expr(char_u *badword, char_u *expr);
13 int get_spellword(list_T *list, char_u **pp); 13 int get_spellword(list_T *list, char_u **pp);
14 void prepare_vimvar(int idx, typval_T *save_tv); 14 void prepare_vimvar(int idx, typval_T *save_tv);
15 void restore_vimvar(int idx, typval_T *save_tv); 15 void restore_vimvar(int idx, typval_T *save_tv);
16 list_T *heredoc_get(exarg_T *eap, char_u *cmd, int script_get); 16 list_T *heredoc_get(exarg_T *eap, char_u *cmd, int script_get, int vim9compile);
17 void ex_var(exarg_T *eap); 17 void ex_var(exarg_T *eap);
18 void ex_let(exarg_T *eap); 18 void ex_let(exarg_T *eap);
19 int ex_let_vars(char_u *arg_start, typval_T *tv, int copy, int semicolon, int var_count, int flags, char_u *op); 19 int ex_let_vars(char_u *arg_start, typval_T *tv, int copy, int semicolon, int var_count, int flags, char_u *op);
20 char_u *skip_var_list(char_u *arg, int include_type, int *var_count, int *semicolon, int silent); 20 char_u *skip_var_list(char_u *arg, int include_type, int *var_count, int *semicolon, int silent);
21 char_u *skip_var_one(char_u *arg, int include_type); 21 char_u *skip_var_one(char_u *arg, int include_type);