summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-15 21:10:16 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-15 21:10:16 +0200
commit11107bab7ead9124f46a7ddf6aa3bb66b43a8246 (patch)
tree113c14273a2c908c44e38d0fde516aa682abd4b4 /src/vim9.h
parent3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0 (diff)
downloadvim-git-11107bab7ead9124f46a7ddf6aa3bb66b43a8246.tar.gz
patch 8.2.1462: Vim9: string slice not supported yetv8.2.1462
Problem: Vim9: string slice not supported yet. Solution: Add support for string slicing.
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h
index 87894144a..549448687 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -117,6 +117,7 @@ typedef enum {
// expression operations
ISN_CONCAT,
ISN_STRINDEX, // [expr] string index
+ ISN_STRSLICE, // [expr:expr] string slice
ISN_LISTINDEX, // [expr] list index
ISN_SLICE, // drop isn_arg.number items from start of list
ISN_GETITEM, // push list item, isn_arg.number is the index