]> granicus.if.org Git - vim/commitdiff
patch 8.2.3546: build failure without the +eval feature v8.2.3546
authorzeertzjq <zeertzjq@outlook.com>
Wed, 20 Oct 2021 16:21:24 +0000 (17:21 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Oct 2021 16:21:24 +0000 (17:21 +0100)
Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef. (closes #9025)

src/errors.h
src/version.c

index 96a9b2fc9393979416c5147fba722effe1f96c38..7778b39602c934f3a4f931ab0768ba7eaee16086 100644 (file)
@@ -160,10 +160,12 @@ EXTERN char e_list_value_does_not_have_enough_items[]
        INIT(= N_("E711: List value does not have enough items"));
 EXTERN char e_cannot_slice_dictionary[]
        INIT(= N_("E719: Cannot slice a Dictionary"));
+#endif
 EXTERN char e_conflicts_with_value_of_listchars[]
        INIT(= N_("E834: Conflicts with value of 'listchars'"));
 EXTERN char e_conflicts_with_value_of_fillchars[]
        INIT(= N_("E835: Conflicts with value of 'fillchars'"));
+#ifdef FEAT_EVAL
 EXTERN char e_assert_fails_second_arg[]
        INIT(= N_("E856: \"assert_fails()\" second argument must be a string or a list with one or two strings"));
 EXTERN char e_using_invalid_value_as_string_str[]
index 072d11f96b85fd4427458a0035dd106d70cc143d..d1f550e01b4a888c8a7f5daf7d0f59c138595ffb 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3546,
 /**/
     3545,
 /**/