summaryrefslogtreecommitdiffstats
path: root/src/proto/evalvars.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-11 21:19:34 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-11 21:19:34 +0100
commitf785aa1354208f6b644e891aa01f8f86d947af7e (patch)
treeaa9ed2fee106094256c479215ab91ec129d3d763 /src/proto/evalvars.pro
parent0bcadf14aa700c166c09f1800ed3de00b9598b39 (diff)
patch 8.2.2501: not always clear where an error is reportedv8.2.2501
Problem: Not always clear where an error is reported. Solution: Add the where_T structure and pass it around. (closes #7796)
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r--src/proto/evalvars.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro
index 0861a8866a..ce160d7de5 100644
--- a/src/proto/evalvars.pro
+++ b/src/proto/evalvars.pro
@@ -70,7 +70,7 @@ void vars_clear(hashtab_T *ht);
void vars_clear_ext(hashtab_T *ht, int free_val);
void delete_var(hashtab_T *ht, hashitem_T *hi);
void set_var(char_u *name, typval_T *tv, int copy);
-void set_var_const(char_u *name, type_T *type, typval_T *tv_arg, int copy, int flags);
+void set_var_const(char_u *name, type_T *type, typval_T *tv_arg, int copy, int flags, int var_idx);
int var_check_permission(dictitem_T *di, char_u *name);
int var_check_ro(int flags, char_u *name, int use_gettext);
int var_check_lock(int flags, char_u *name, int use_gettext);