changeset 26386:712648e62913 v8.2.3724

patch 8.2.3724: build error for missing error message in small build Commit: https://github.com/vim/vim/commit/021ef351c2127cf8aa5668a881435a0a12774644 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 2 20:44:42 2021 +0000 patch 8.2.3724: build error for missing error message in small build Problem: Build error for missing error message in small build. Solution: Correct #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Dec 2021 21:45:03 +0100
parents bd043fef8ab2
children b6eb7e295973
files src/errors.h src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -316,8 +316,10 @@ EXTERN char e_cannot_index_number[]
 	INIT(= N_("E1062: Cannot index a Number"));
 EXTERN char e_type_mismatch_for_v_variable[]
 	INIT(= N_("E1063: Type mismatch for v: variable"));
+#endif
 EXTERN char e_yank_register_changed_while_using_it[]
 	INIT(= N_("E1064: Yank register changed while using it"));
+#ifdef FEAT_EVAL
 // E1065 unused
 EXTERN char e_cannot_declare_a_register_str[]
 	INIT(= N_("E1066: Cannot declare a register: %s"));
--- a/src/version.c
+++ b/src/version.c
@@ -754,6 +754,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3724,
+/**/
     3723,
 /**/
     3722,