Mercurial > vim
diff src/vim9.h @ 22637:4d4042683371 v8.2.1867
patch 8.2.1867: Vim9: argument to add() not checked for blob
Commit: https://github.com/vim/vim/commit/80b0e5ea1132d1d7cf78c77bc14c686c836a0d25
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Oct 19 20:45:36 2020 +0200
patch 8.2.1867: Vim9: argument to add() not checked for blob
Problem: Vim9: argument to add() not checked for blob.
Solution: Add the BLOBAPPEND instruction.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Oct 2020 21:00:04 +0200 |
parents | 6589dae9696c |
children | dda110a14be4 |
line wrap: on
line diff
--- 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