summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorrbtnn <naru123456789@gmail.com>2021-12-18 18:33:46 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-18 18:33:46 +0000
commit0ccb5842f5fb103763d106c7aa364d758343c35a (patch)
tree76ea36f2abf5035e3695132e0cc5b59e2e9a325c /src/errors.h
parent605ec91e5a7330d61be313637e495fa02a6dc264 (diff)
patch 8.2.3848: cannot use reduce() for a stringv8.2.3848
Problem: Cannot use reduce() for a string. Solution: Make reduce() work with a string. (Naruhiko Nishino, closes #9366)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/errors.h b/src/errors.h
index 2ca71f1524..3fd8e5a01d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -843,4 +843,8 @@ EXTERN char e_highlight_group_name_too_long[]
EXTERN char e_argument_of_str_must_be_list_string_dictionary_or_blob[]
INIT(= N_("E1250: Argument of %s must be a List, String, Dictionary or Blob"));
EXTERN char e_list_dict_blob_or_string_required_for_argument_nr[]
- INIT(= N_("E1228: List, Dictionary, Blob or String required for argument %d"));
+ INIT(= N_("E1251: List, Dictionary, Blob or String required for argument %d"));
+EXTERN char e_string_list_or_blob_required_for_argument_nr[]
+ INIT(= N_("E1252: String, List or Blob required for argument %d"));
+EXTERN char e_string_expected_for_argument_nr[]
+ INIT(= N_("E1253: String expected for argument %d"));