comparison src/proto/eval.pro @ 34957:3cacfb652766 v9.1.0335

patch 9.1.0335: String interpolation fails for List type Commit: https://github.com/vim/vim/commit/bce51d9005dd1c5bc002acbac2e12b649abcb013 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Apr 15 19:19:52 2024 +0200 patch 9.1.0335: String interpolation fails for List type Problem: String interpolation fails for List type Solution: use implicit string(list) for string interpolation and :put = (Yegappan Lakshmanan) related: #14529 closes: #14556 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 15 Apr 2024 19:30:04 +0200
parents 19cdfe768104
children 500731fe8161
comparison
equal deleted inserted replaced
34956:44754f99767f 34957:3cacfb652766
12 char_u *eval_to_string_skip(char_u *arg, exarg_T *eap, int skip); 12 char_u *eval_to_string_skip(char_u *arg, exarg_T *eap, int skip);
13 void init_evalarg(evalarg_T *evalarg); 13 void init_evalarg(evalarg_T *evalarg);
14 void clear_evalarg(evalarg_T *evalarg, exarg_T *eap); 14 void clear_evalarg(evalarg_T *evalarg, exarg_T *eap);
15 int skip_expr(char_u **pp, evalarg_T *evalarg); 15 int skip_expr(char_u **pp, evalarg_T *evalarg);
16 int skip_expr_concatenate(char_u **arg, char_u **start, char_u **end, evalarg_T *evalarg); 16 int skip_expr_concatenate(char_u **arg, char_u **start, char_u **end, evalarg_T *evalarg);
17 char_u *typval2string(typval_T *tv, int convert); 17 char_u *typval2string(typval_T *tv, int join_list);
18 char_u *eval_to_string_eap(char_u *arg, int convert, exarg_T *eap, int use_simple_function); 18 char_u *eval_to_string_eap(char_u *arg, int join_list, exarg_T *eap, int use_simple_function);
19 char_u *eval_to_string(char_u *arg, int convert, int use_simple_function); 19 char_u *eval_to_string(char_u *arg, int join_list, int use_simple_function);
20 char_u *eval_to_string_safe(char_u *arg, int use_sandbox, int keep_script_version, int use_simple_function); 20 char_u *eval_to_string_safe(char_u *arg, int use_sandbox, int keep_script_version, int use_simple_function);
21 varnumber_T eval_to_number(char_u *expr, int use_simple_function); 21 varnumber_T eval_to_number(char_u *expr, int use_simple_function);
22 typval_T *eval_expr(char_u *arg, exarg_T *eap); 22 typval_T *eval_expr(char_u *arg, exarg_T *eap);
23 typval_T *eval_expr_ext(char_u *arg, exarg_T *eap, int use_simple_function); 23 typval_T *eval_expr_ext(char_u *arg, exarg_T *eap, int use_simple_function);
24 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv); 24 int call_vim_function(char_u *func, int argc, typval_T *argv, typval_T *rettv);