changeset 27527:92fe6aca4907 v8.2.4291

patch 8.2.4291: error number used twice Commit: https://github.com/vim/vim/commit/5658ca343f49a770ec068a858f52547ce822afa1 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 3 20:09:19 2022 +0000 patch 8.2.4291: error number used twice Problem: Error number used twice. Solution: Renumber of of the errors.
author Bram Moolenaar <Bram@vim.org>
date Thu, 03 Feb 2022 21:15:03 +0100
parents 891948e114b4
children a2b932835fca
files src/errors.h src/version.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -2809,7 +2809,8 @@ EXTERN char e_cannot_assign_to_argument[
 	INIT(= N_("E1090: Cannot assign to argument %s"));
 EXTERN char e_function_is_not_compiled_str[]
 	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[]
 	INIT(= N_("E1093: Expected %d items but got %d"));
 EXTERN char e_import_can_only_be_used_in_script[]
@@ -3012,8 +3013,6 @@ EXTERN char e_cannot_use_range_with_assi
 #ifdef FEAT_EVAL
 EXTERN char e_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[]
 	INIT(= N_("E1185: Missing :redir END"));
 EXTERN char e_expression_does_not_result_in_value_str[]
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4291,
+/**/
     4290,
 /**/
     4289,