comparison src/proto/eval.pro @ 13892:eadecbe4e390 v8.0.1817

patch 8.0.1817: a timer may change v:count unexpectedly commit https://github.com/vim/vim/commit/b0f42ba60d9e6d101d103421ba0c351811615c15 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 12 15:38:26 2018 +0200 patch 8.0.1817: a timer may change v:count unexpectedly Problem: A timer may change v:count unexpectedly. Solution: Save and restore v:count and similar variables when a timer callback is invoked. (closes #2897)
author Christian Brabandt <cb@256bit.org>
date Sat, 12 May 2018 15:45:05 +0200
parents 87012d2b17b5
children c1fcfafa8d1a
comparison
equal deleted inserted replaced
13891:6418f95b0eb1 13892:eadecbe4e390
65 char_u *get_vim_var_str(int idx); 65 char_u *get_vim_var_str(int idx);
66 list_T *get_vim_var_list(int idx); 66 list_T *get_vim_var_list(int idx);
67 dict_T *get_vim_var_dict(int idx); 67 dict_T *get_vim_var_dict(int idx);
68 void set_vim_var_char(int c); 68 void set_vim_var_char(int c);
69 void set_vcount(long count, long count1, int set_prevcount); 69 void set_vcount(long count, long count1, int set_prevcount);
70 void save_vimvars(vimvars_save_T *vvsave);
71 void restore_vimvars(vimvars_save_T *vvsave);
70 void set_vim_var_string(int idx, char_u *val, int len); 72 void set_vim_var_string(int idx, char_u *val, int len);
71 void set_vim_var_list(int idx, list_T *val); 73 void set_vim_var_list(int idx, list_T *val);
72 void set_vim_var_dict(int idx, dict_T *val); 74 void set_vim_var_dict(int idx, dict_T *val);
73 void set_reg_var(int c); 75 void set_reg_var(int c);
74 char_u *v_exception(char_u *oldval); 76 char_u *v_exception(char_u *oldval);