]> granicus.if.org Git - vim/commitdiff
patch 8.2.4516: build failure without the +eval feature v8.2.4516
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Mar 2022 22:07:32 +0000 (22:07 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Mar 2022 22:07:32 +0000 (22:07 +0000)
Problem:    Build failure without the +eval feature.
Solution:   Move error message outside of #ifdef.

src/errors.h
src/version.c

index 6f275fa41262c17ef95d9be53a17a36519e80267..b021f820470f8f6212e7a4649e0d6986caaaaf07 100644 (file)
@@ -3246,6 +3246,6 @@ EXTERN char e_cannot_use_s_colon_in_vim9_script_str[]
        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
index 4bbe08ce78296be49fa39d7610435ccf70daa7ad..5895b6697429d20e7e63e31a3e7fff93ecdecef4 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4516,
 /**/
     4515,
 /**/