diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-23 08:31:18 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-23 08:31:18 +0100 |
commit | 792f786aad8409ca9ab895392742643a5b6aed8f (patch) | |
tree | 852c5c938224f53d87cdcb492d2f533afc96e010 /src/errors.h | |
parent | 6abdcf82859e158713a3d5aa6b1012748ea5c2a0 (diff) | |
download | vim-git-792f786aad8409ca9ab895392742643a5b6aed8f.tar.gz |
patch 8.2.2034: Vim9: list unpack in for statement not compiled yetv8.2.2034
Problem: Vim9: list unpack in for statement not compiled yet.
Solution: Compile list unpack. (closes #7345)
Diffstat (limited to 'src/errors.h')
-rw-r--r-- | src/errors.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h index c7aad127b..69450eb33 100644 --- a/src/errors.h +++ b/src/errors.h @@ -21,6 +21,10 @@ EXTERN char e_invalid_command[] #ifdef FEAT_EVAL EXTERN char e_invalid_command_str[] INIT(= N_("E476: Invalid command: %s")); +EXTERN char e_list_value_has_more_items_than_targets[] + INIT(= N_("E710: List value has more items than targets")); +EXTERN char e_list_value_does_not_have_enough_items[] + INIT(= N_("E711: List value does not have enough items")); EXTERN char e_cannot_slice_dictionary[] INIT(= N_("E719: Cannot slice a Dictionary")); EXTERN char e_assert_fails_second_arg[] @@ -305,3 +309,5 @@ EXTERN char e_using_bool_as_number[] INIT(= N_("E1138: Using a Bool as a Number")); EXTERN char e_missing_matching_bracket_after_dict_key[] INIT(= N_("E1139: Missing matching bracket after dict key")); +EXTERN char e_for_argument_must_be_sequence_of_lists[] + INIT(= N_("E1140: For argument must be a sequence of lists")); |