changeset 25388:83e906028a9d v8.2.3231

patch 8.2.3231: build failure with small features Commit: https://github.com/vim/vim/commit/9088784972c0ed72997de8752964d6b587218778 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 27 22:35:42 2021 +0200 patch 8.2.3231: build failure with small features Problem: Build failure with small features. Solution: Adjust #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Tue, 27 Jul 2021 22:45:03 +0200
parents beb96a39cfac
children 19b15ae5eb9f
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
@@ -224,8 +224,10 @@ EXTERN char e_using_number_as_string[]
 	INIT(= N_("E1024: Using a Number as a String"));
 EXTERN char e_using_rcurly_outside_if_block_scope[]
 	INIT(= N_("E1025: Using } outside of a block scope"));
+#endif
 EXTERN char e_missing_rcurly[]
 	INIT(= N_("E1026: Missing }"));
+#ifdef FEAT_EVAL
 EXTERN char e_missing_return_statement[]
 	INIT(= N_("E1027: Missing return statement"));
 EXTERN char e_compiling_def_function_failed[]
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3231,
+/**/
     3230,
 /**/
     3229,