1
0
forked from aniani/vim

patch 8.2.2897: Vim9: can use reserved words at the script level

Problem:    Vim9: can use reserved words at the script level.
Solution:   Check variable names for reserved words. (closes #8253)
This commit is contained in:
Bram Moolenaar
2021-05-28 21:06:08 +02:00
parent dc3275a1ac
commit d0edaf9dc2
6 changed files with 39 additions and 19 deletions

View File

@@ -18,4 +18,5 @@ void hide_script_var(scriptitem_T *si, int idx, int func_defined);
void free_all_script_vars(scriptitem_T *si);
svar_T *find_typval_in_script(typval_T *dest);
int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where);
int check_reserved_name(char_u *name);
/* vim: set ft=c : */