diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-19 20:45:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-19 20:45:36 +0200 |
commit | 80b0e5ea1132d1d7cf78c77bc14c686c836a0d25 (patch) | |
tree | 67010c8c5d188d8f4498806029949ef945a513b9 /src/vim9.h | |
parent | 66fa5fd54f550c0790d36c20124c49493b323bfa (diff) |
patch 8.2.1867: Vim9: argument to add() not checked for blobv8.2.1867
Problem: Vim9: argument to add() not checked for blob.
Solution: Add the BLOBAPPEND instruction.
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 4cece6d814..68b9bfab38 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -126,6 +126,7 @@ typedef enum { ISN_ANYINDEX, // [expr] runtime index ISN_ANYSLICE, // [expr:expr] runtime slice ISN_SLICE, // drop isn_arg.number items from start of list + ISN_BLOBAPPEND, // append to a blob, like add() ISN_GETITEM, // push list item, isn_arg.number is the index ISN_MEMBER, // dict[member] ISN_STRINGMEMBER, // dict.member using isn_arg.string |