summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-09-13 18:25:54 +0200
committerBram Moolenaar <Bram@vim.org>2021-09-13 18:25:54 +0200
commitb1b6f4de2b0edc3b6622912132ddb8994ec52709 (patch)
tree511b4e3c4a23e31c490a27c171e90b162f799554 /src/vim9.h
parent28e591dd5080bbcd0f468f9d9597cedb716e28c9 (diff)
downloadvim-git-b1b6f4de2b0edc3b6622912132ddb8994ec52709.tar.gz
patch 8.2.3435: Vim9: dict is not passed to dict functionv8.2.3435
Problem: Vim9: dict is not passed to dict function. Solution: Keep the dict used until a function call.
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h
index 0fc1ab5d4..66fc6cc39 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -162,6 +162,9 @@ typedef enum {
ISN_CHECKLEN, // check list length is isn_arg.checklen.cl_min_len
ISN_SETTYPE, // set dict type to isn_arg.type.ct_type
+ ISN_CLEARDICT, // clear dict saved by ISN_MEMBER/ISN_STRINGMEMBER
+ ISN_USEDICT, // use or clear dict saved by ISN_MEMBER/ISN_STRINGMEMBER
+
ISN_PUT, // ":put", uses isn_arg.put
ISN_CMDMOD, // set cmdmod