forked from aniani/vim
patch 8.2.4682: Vim9: can use :unlockvar for const variable
Problem: Vim9: can use :unlockvar for const variable. (Ernie Rael) Solution: Check whether the variable is a const.
This commit is contained in:
@@ -16,7 +16,7 @@ int find_exported(int sid, char_u *name, ufunc_T **ufunc, type_T **type, cctx_T
|
||||
char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg);
|
||||
void update_vim9_script_var(int create, dictitem_T *di, char_u *name, int flags, typval_T *tv, type_T **type, int do_member);
|
||||
void hide_script_var(scriptitem_T *si, int idx, int func_defined);
|
||||
svar_T *find_typval_in_script(typval_T *dest, scid_T sid);
|
||||
svar_T *find_typval_in_script(typval_T *dest, scid_T sid, int must_find);
|
||||
int check_script_var_type(svar_T *sv, typval_T *value, char_u *name, where_T where);
|
||||
int check_reserved_name(char_u *name);
|
||||
/* vim: set ft=c : */
|
||||
|
Reference in New Issue
Block a user