]> granicus.if.org Git - vim/commitdiff
patch 9.0.0255: build failure without the eval feature v9.0.0255
authorBram Moolenaar <Bram@vim.org>
Wed, 24 Aug 2022 16:05:56 +0000 (17:05 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 24 Aug 2022 16:05:56 +0000 (17:05 +0100)
Problem:    Build failure without the eval feature.
Solution:   Add #ifdef.

src/scriptfile.c
src/version.c

index 48e475bea197d2891bed1d42c4beabf0d11e3cef..bb307561de6f2a4f9b916eeec91993163fce4d66 100644 (file)
@@ -1775,6 +1775,7 @@ almosttheend:
        apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf);
 
 theend:
+#ifdef FEAT_EVAL
     if (sid > 0 && ret_sid != NULL
            && fname_not_fixed != NULL && fname_exp != NULL)
     {
@@ -1786,6 +1787,7 @@ theend:
        if (SCRIPT_ID_VALID(not_fixed_sid) && not_fixed_sid != sid)
            SCRIPT_ITEM(not_fixed_sid)->sn_sourced_sid = sid;
     }
+#endif
 
     vim_free(fname_not_fixed);
     vim_free(fname_exp);
index a4787e4414d9d25322a98a74a12a58b6036767ea..17ea79eb0f387454c4248e16f6f1f701bc787b63 100644 (file)
@@ -731,6 +731,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    255,
 /**/
     254,
 /**/