changeset 27982:06c6563d3768 v8.2.4516

patch 8.2.4516: build failure without the +eval feature Commit: https://github.com/vim/vim/commit/525eba00ef818f50fb3ba71c54409a7a8962b344 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 5 22:07:32 2022 +0000 patch 8.2.4516: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Move error message outside of #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 05 Mar 2022 23:15:02 +0100
parents 9cb0f4a9af46
children 29bfe82072f3
files src/errors.h src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/errors.h
+++ b/src/errors.h
@@ -3246,6 +3246,6 @@ EXTERN char e_cannot_use_s_colon_in_vim9
 	INIT(= N_("E1268: Cannot use s: in Vim9 script: %s"));
 EXTERN char e_cannot_create_vim9_script_variable_in_function_str[]
 	INIT(= N_("E1269: Cannot create a Vim9 script variable in a function: %s"));
+#endif
 EXTERN char e_cannot_use_s_backslash_in_vim9_script[]
 	INIT(= N_("E1270: Cannot use :s\\/sub/ in Vim9 script"));
-#endif
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4516,
+/**/
     4515,
 /**/
     4514,