summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-13 19:40:51 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-13 19:40:51 +0200
commitaacc966c5d0ed91e33ed32b08f17cf4df3ca1394 (patch)
treee4cc65bc97301d078e9cada2f3bf025a7fff049e /src/globals.h
parent89071cb6a116a74f78f77a1853e6fada44872a15 (diff)
downloadvim-git-aacc966c5d0ed91e33ed32b08f17cf4df3ca1394.tar.gz
patch 8.2.3339: Vim9: cannot lock a member in a local dictv8.2.3339
Problem: Vim9: cannot lock a member in a local dict. Solution: Get the local dict from the stack and pass it to get_lval().
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h
index ebf236b00..f09ad482f 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1835,6 +1835,8 @@ EXTERN int timer_busy INIT(= 0); // when timer is inside vgetc() then > 0
#endif
#ifdef FEAT_EVAL
EXTERN int input_busy INIT(= 0); // when inside get_user_input() then > 0
+
+EXTERN typval_T *lval_root INIT(= NULL);
#endif
#ifdef FEAT_BEVAL_TERM