]> granicus.if.org Git - vim/commitdiff
patch 8.2.4013: build failure without the spell feature v8.2.4013
authorBram Moolenaar <Bram@vim.org>
Wed, 5 Jan 2022 20:40:34 +0000 (20:40 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 5 Jan 2022 20:40:34 +0000 (20:40 +0000)
Problem:    Build failure without the spell feature.
Solution:   Adjust #ifdefs.

src/errors.h
src/version.c

index ea0b77e4ff637b9d0137ac36e9f896c5b45062e7..3b765a16686aa02c135732f6ebf74c73aae79a64 100644 (file)
@@ -1771,10 +1771,12 @@ EXTERN char e_character_in_fol_low_or_upp_is_out_of_range[]
        INIT(= N_("E762: Character in FOL, LOW or UPP is out of range"));
 EXTERN char e_word_characters_differ_between_spell_files[]
        INIT(= N_("E763: Word characters differ between spell files"));
+#endif
 #if defined(FEAT_SYN_HL) || defined(FEAT_COMPL_FUNC)
 EXTERN char e_option_str_is_not_set[]
        INIT(= N_("E764: Option '%s' is not set"));
 #endif
+#ifdef FEAT_SPELL
 EXTERN char e_spellfile_does_not_have_nr_entries[]
        INIT(= N_("E765: 'spellfile' does not have %d entries"));
 #endif
index 833299e5c3638064bd6f5d79576aef8df9cf4ed2..3fb926228d9075c619bceda0c859782053efa6d1 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4013,
 /**/
     4012,
 /**/