1
0
forked from aniani/vim

patch 8.2.4291: error number used twice

Problem:    Error number used twice.
Solution:   Renumber of of the errors.
This commit is contained in:
Bram Moolenaar
2022-02-03 20:09:19 +00:00
parent a8ec4916ca
commit 5658ca343f
2 changed files with 4 additions and 3 deletions

View File

@@ -2809,7 +2809,8 @@ EXTERN char e_cannot_assign_to_argument[]
INIT(= N_("E1090: Cannot assign to argument %s")); INIT(= N_("E1090: Cannot assign to argument %s"));
EXTERN char e_function_is_not_compiled_str[] EXTERN char e_function_is_not_compiled_str[]
INIT(= N_("E1091: Function is not compiled: %s")); INIT(= N_("E1091: Function is not compiled: %s"));
// E1092 unused EXTERN char e_cannot_nest_redir[]
INIT(= N_("E1092: Cannot nest :redir"));
EXTERN char e_expected_nr_items_but_got_nr[] EXTERN char e_expected_nr_items_but_got_nr[]
INIT(= N_("E1093: Expected %d items but got %d")); INIT(= N_("E1093: Expected %d items but got %d"));
EXTERN char e_import_can_only_be_used_in_script[] EXTERN char e_import_can_only_be_used_in_script[]
@@ -3012,8 +3013,6 @@ EXTERN char e_cannot_use_range_with_assignment_operator_str[]
#ifdef FEAT_EVAL #ifdef FEAT_EVAL
EXTERN char e_blob_not_set[] EXTERN char e_blob_not_set[]
INIT(= N_("E1184: Blob not set")); INIT(= N_("E1184: Blob not set"));
EXTERN char e_cannot_nest_redir[]
INIT(= N_("E1185: Cannot nest :redir"));
EXTERN char e_missing_redir_end[] EXTERN char e_missing_redir_end[]
INIT(= N_("E1185: Missing :redir END")); INIT(= N_("E1185: Missing :redir END"));
EXTERN char e_expression_does_not_result_in_value_str[] EXTERN char e_expression_does_not_result_in_value_str[]

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
4291,
/**/ /**/
4290, 4290,
/**/ /**/