diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-19 16:30:44 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-19 16:30:44 +0100 |
commit | 03290b8444b69c6d7307755770467bc488384e1a (patch) | |
tree | 7b6b7eaaa41c2f2194a0712f6848fe8209552af6 /src/vim9.h | |
parent | 1f33e0a7c4cd278158b37f91a2aa44f0bcd1f21a (diff) |
patch 8.2.2162: Vim9: Cannot load or store autoload variablesv8.2.2162
Problem: Vim9: Cannot load or store autoload variables.
Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 26b208025d..26307c2707 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -24,6 +24,7 @@ typedef enum { ISN_LOAD, // push local variable isn_arg.number ISN_LOADV, // push v: variable isn_arg.number ISN_LOADG, // push g: variable isn_arg.string + ISN_LOADAUTO, // push g: autoload variable isn_arg.string ISN_LOADB, // push b: variable isn_arg.string ISN_LOADW, // push w: variable isn_arg.string ISN_LOADT, // push t: variable isn_arg.string @@ -41,6 +42,7 @@ typedef enum { ISN_STORE, // pop into local variable isn_arg.number ISN_STOREV, // pop into v: variable isn_arg.number ISN_STOREG, // pop into global variable isn_arg.string + ISN_STOREAUTO, // pop into global autoload variable isn_arg.string ISN_STOREB, // pop into buffer-local variable isn_arg.string ISN_STOREW, // pop into window-local variable isn_arg.string ISN_STORET, // pop into tab-local variable isn_arg.string |