summaryrefslogtreecommitdiffstats
path: root/src/errors.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/errors.h
parent3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0 (diff)
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/errors.h')
-rw-r--r--src/errors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 6a2e50ee3d..3f96071469 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -69,7 +69,8 @@ EXTERN char e_const_requires_a_value[]
INIT(= N_("E1021: const requires a value"));
EXTERN char e_type_or_initialization_required[]
INIT(= N_("E1022: type or initialization required"));
-// E1023 unused
+EXTERN char e_cannot_slice_dictionary[]
+ INIT(= N_("E1023: cannot slice a dictionary"));
// E1024 unused
EXTERN char e_using_rcurly_outside_if_block_scope[]
INIT(= N_("E1025: using } outside of a block scope"));