comparison src/proto/eval.pro @ 27289:e11682ba8c80 v8.2.4173

patch 8.2.4173: cannot use an import in 'foldexpr' Commit: https://github.com/vim/vim/commit/e70dd11ef41f69bd5e94f630194e6b3c4f3f2102 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 21 16:31:11 2022 +0000 patch 8.2.4173: cannot use an import in 'foldexpr' Problem: Cannot use an import in 'foldexpr'. Solution: Set the script context to where 'foldexpr' was set. (closes https://github.com/vim/vim/issues/9584) Fix that the script context was not set for all buffers.
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Jan 2022 17:45:04 +0100
parents 4b8d836db103
children ebe56a24acb6
comparison
equal deleted inserted replaced
27288:685e831a281a 27289:e11682ba8c80
16 char_u *eval_to_string(char_u *arg, int convert); 16 char_u *eval_to_string(char_u *arg, int convert);
17 char_u *eval_to_string_safe(char_u *arg, int use_sandbox); 17 char_u *eval_to_string_safe(char_u *arg, int use_sandbox);
18 varnumber_T eval_to_number(char_u *expr); 18 varnumber_T eval_to_number(char_u *expr);
19 typval_T *eval_expr(char_u *arg, exarg_T *eap); 19 typval_T *eval_expr(char_u *arg, exarg_T *eap);
20 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv); 20 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv);
21 varnumber_T call_func_retnr(char_u *func, int argc, typval_T *argv);
22 int call_func_noret(char_u *func, int argc, typval_T *argv);
23 void *call_func_retstr(char_u *func, int argc, typval_T *argv); 21 void *call_func_retstr(char_u *func, int argc, typval_T *argv);
24 void *call_func_retlist(char_u *func, int argc, typval_T *argv); 22 void *call_func_retlist(char_u *func, int argc, typval_T *argv);
25 int eval_foldexpr(char_u *arg, int *cp); 23 int eval_foldexpr(win_T *wp, int *cp);
26 char_u *get_lval(char_u *name, typval_T *rettv, lval_T *lp, int unlet, int skip, int flags, int fne_flags); 24 char_u *get_lval(char_u *name, typval_T *rettv, lval_T *lp, int unlet, int skip, int flags, int fne_flags);
27 void clear_lval(lval_T *lp); 25 void clear_lval(lval_T *lp);
28 void set_var_lval(lval_T *lp, char_u *endp, typval_T *rettv, int copy, int flags, char_u *op, int var_idx); 26 void set_var_lval(lval_T *lp, char_u *endp, typval_T *rettv, int copy, int flags, char_u *op, int var_idx);
29 int tv_op(typval_T *tv1, typval_T *tv2, char_u *op); 27 int tv_op(typval_T *tv1, typval_T *tv2, char_u *op);
30 void *eval_for_line(char_u *arg, int *errp, exarg_T *eap, evalarg_T *evalarg); 28 void *eval_for_line(char_u *arg, int *errp, exarg_T *eap, evalarg_T *evalarg);