summaryrefslogtreecommitdiffstats
path: root/src/proto/evalvars.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-11 15:14:05 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-11 15:14:05 +0100
commit9510d22463055f56548ff461ccbc54caa1ba1a2f (patch)
tree5c084eccddd0a17e08c4bba2d5fec6d4cc969144 /src/proto/evalvars.pro
parentcce82a55b8105560a2ef724999c856966337b48e (diff)
patch 9.0.0444: trying to declare g:variable gives confusing errorv9.0.0444
Problem: Trying to declare g:variable gives confusing error. Solution: Give a better error message. (closes #11108)
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r--src/proto/evalvars.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro
index 253af6de6c..b8b0053422 100644
--- a/src/proto/evalvars.pro
+++ b/src/proto/evalvars.pro
@@ -13,6 +13,7 @@ list_T *eval_spell_expr(char_u *badword, char_u *expr);
int get_spellword(list_T *list, char_u **pp);
void prepare_vimvar(int idx, typval_T *save_tv);
void restore_vimvar(int idx, typval_T *save_tv);
+int is_scoped_variable(char_u *name);
char_u *eval_one_expr_in_str(char_u *p, garray_T *gap, int evaluate);
list_T *heredoc_get(exarg_T *eap, char_u *cmd, int script_get, int vim9compile);
void ex_var(exarg_T *eap);