Mercurial > vim
comparison src/proto/eval.pro @ 9436:f048e5a27253 v7.4.1999
commit https://github.com/vim/vim/commit/bc5d6dd1dd1dc3a06e4e655fc9479529db288365
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 7 23:04:18 2016 +0200
patch 7.4.1999
Problem: evalcmd() doesn't work recursively.
Solution: Use redir_evalcmd instead of redir_vname.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 07 Jul 2016 23:15:05 +0200 |
parents | 32e34e574716 |
children | 9da0cb39cbee |
comparison
equal
deleted
inserted
replaced
9435:eb1692f10ce6 | 9436:f048e5a27253 |
---|---|
79 int dict_add_nr_str(dict_T *d, char *key, varnumber_T nr, char_u *str); | 79 int dict_add_nr_str(dict_T *d, char *key, varnumber_T nr, char_u *str); |
80 int dict_add_list(dict_T *d, char *key, list_T *list); | 80 int dict_add_list(dict_T *d, char *key, list_T *list); |
81 dictitem_T *dict_find(dict_T *d, char_u *key, int len); | 81 dictitem_T *dict_find(dict_T *d, char_u *key, int len); |
82 char_u *get_dict_string(dict_T *d, char_u *key, int save); | 82 char_u *get_dict_string(dict_T *d, char_u *key, int save); |
83 varnumber_T get_dict_number(dict_T *d, char_u *key); | 83 varnumber_T get_dict_number(dict_T *d, char_u *key); |
84 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); | |
84 int string2float(char_u *text, float_T *value); | 85 int string2float(char_u *text, float_T *value); |
85 char_u *get_function_name(expand_T *xp, int idx); | 86 char_u *get_function_name(expand_T *xp, int idx); |
86 char_u *get_expr_name(expand_T *xp, int idx); | 87 char_u *get_expr_name(expand_T *xp, int idx); |
87 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in); | 88 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in); |
88 buf_T *buflist_find_by_name(char_u *name, int curtab_only); | 89 buf_T *buflist_find_by_name(char_u *name, int curtab_only); |
89 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv); | 90 int func_call(char_u *name, typval_T *args, partial_T *partial, dict_T *selfdict, typval_T *rettv); |
91 void evalcmd_redir_str(char_u *value, int value_len); | |
90 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); | 92 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); |
91 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); | 93 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); |
92 float_T vim_round(float_T f); | 94 float_T vim_round(float_T f); |
93 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); | 95 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); |
94 char_u *get_callback(typval_T *arg, partial_T **pp); | 96 char_u *get_callback(typval_T *arg, partial_T **pp); |
148 void last_set_msg(scid_T scriptID); | 150 void last_set_msg(scid_T scriptID); |
149 void ex_oldfiles(exarg_T *eap); | 151 void ex_oldfiles(exarg_T *eap); |
150 void reset_v_option_vars(void); | 152 void reset_v_option_vars(void); |
151 int modify_fname(char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); | 153 int modify_fname(char_u *src, int *usedlen, char_u **fnamep, char_u **bufp, int *fnamelen); |
152 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, char_u *flags); | 154 char_u *do_string_sub(char_u *str, char_u *pat, char_u *sub, char_u *flags); |
153 char_u *tv2string(typval_T *tv, char_u **tofree, char_u *numbuf, int copyID); | |
154 /* vim: set ft=c : */ | 155 /* vim: set ft=c : */ |