diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-08-13 19:40:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-08-13 19:40:51 +0200 |
commit | aacc966c5d0ed91e33ed32b08f17cf4df3ca1394 (patch) | |
tree | e4cc65bc97301d078e9cada2f3bf025a7fff049e /src/globals.h | |
parent | 89071cb6a116a74f78f77a1853e6fada44872a15 (diff) | |
download | vim-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.h | 2 |
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 |