Mercurial > vim
comparison src/proto/eval.pro @ 15780:5b6c3c7feba8 v8.1.0897
patch 8.1.0897: can modify a:000 when using a reference
commit https://github.com/vim/vim/commit/05c00c038bc16e862e17f9e5c8d5a72af6cf7788
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 11 22:00:11 2019 +0100
patch 8.1.0897: can modify a:000 when using a reference
Problem: Can modify a:000 when using a reference.
Solution: Make check for locked variable stricter. (Ozaki Kiichi,
closes #3930)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 11 Feb 2019 22:15:07 +0100 |
parents | dd725a8ab112 |
children | 0761a4c111a7 |
comparison
equal
deleted
inserted
replaced
15779:503f872f0ec3 | 15780:5b6c3c7feba8 |
---|---|
101 void vars_clear_ext(hashtab_T *ht, int free_val); | 101 void vars_clear_ext(hashtab_T *ht, int free_val); |
102 void set_var(char_u *name, typval_T *tv, int copy); | 102 void set_var(char_u *name, typval_T *tv, int copy); |
103 int var_check_ro(int flags, char_u *name, int use_gettext); | 103 int var_check_ro(int flags, char_u *name, int use_gettext); |
104 int var_check_fixed(int flags, char_u *name, int use_gettext); | 104 int var_check_fixed(int flags, char_u *name, int use_gettext); |
105 int var_check_func_name(char_u *name, int new_var); | 105 int var_check_func_name(char_u *name, int new_var); |
106 int var_check_lock(int lock, char_u *name, int use_gettext); | |
106 int valid_varname(char_u *varname); | 107 int valid_varname(char_u *varname); |
107 int tv_check_lock(int lock, char_u *name, int use_gettext); | |
108 void copy_tv(typval_T *from, typval_T *to); | 108 void copy_tv(typval_T *from, typval_T *to); |
109 int item_copy(typval_T *from, typval_T *to, int deep, int copyID); | 109 int item_copy(typval_T *from, typval_T *to, int deep, int copyID); |
110 void get_user_input(typval_T *argvars, typval_T *rettv, int inputdialog, int secret); | 110 void get_user_input(typval_T *argvars, typval_T *rettv, int inputdialog, int secret); |
111 void ex_echo(exarg_T *eap); | 111 void ex_echo(exarg_T *eap); |
112 void ex_echohl(exarg_T *eap); | 112 void ex_echohl(exarg_T *eap); |