diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-15 22:14:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-15 22:14:53 +0200 |
commit | ed5918771fcf9877d8445e74c62ab1ce6b8e28c1 (patch) | |
tree | 6b2c25678e1d0b606ad7e6b82d2d6528b6b86be8 /src/vim9.h | |
parent | 11107bab7ead9124f46a7ddf6aa3bb66b43a8246 (diff) | |
download | vim-git-ed5918771fcf9877d8445e74c62ab1ce6b8e28c1.tar.gz |
patch 8.2.1463: Vim9: list slice not supported yetv8.2.1463
Problem: Vim9: list slice not supported yet.
Solution: Add support for list slicing.
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 549448687..ce92d0362 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -119,6 +119,7 @@ typedef enum { ISN_STRINDEX, // [expr] string index ISN_STRSLICE, // [expr:expr] string slice ISN_LISTINDEX, // [expr] list index + ISN_LISTSLICE, // [expr:expr] list slice ISN_SLICE, // drop isn_arg.number items from start of list ISN_GETITEM, // push list item, isn_arg.number is the index ISN_MEMBER, // dict[member] |