changeset 29832:4a549427855d v9.0.0255

patch 9.0.0255: build failure without the eval feature Commit: https://github.com/vim/vim/commit/0af2ecfe4474be3a83d75b1d636bfdf6b27bbc92 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 24 17:05:56 2022 +0100 patch 9.0.0255: build failure without the eval feature Problem: Build failure without the eval feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Aug 2022 18:15:02 +0200
parents fe6c602bd8ee
children 0a846de13277
files src/scriptfile.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/scriptfile.c
+++ b/src/scriptfile.c
@@ -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);
--- a/src/version.c
+++ b/src/version.c
@@ -732,6 +732,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    255,
+/**/
     254,
 /**/
     253,