0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.0.0255: build failure without the eval feature

Problem:    Build failure without the eval feature.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2022-08-24 17:05:56 +01:00
parent 5fb3aabc2b
commit 0af2ecfe44
2 changed files with 4 additions and 0 deletions

View File

@@ -1775,6 +1775,7 @@ almosttheend:
apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf); apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf);
theend: theend:
#ifdef FEAT_EVAL
if (sid > 0 && ret_sid != NULL if (sid > 0 && ret_sid != NULL
&& fname_not_fixed != NULL && fname_exp != NULL) && fname_not_fixed != NULL && fname_exp != NULL)
{ {
@@ -1786,6 +1787,7 @@ theend:
if (SCRIPT_ID_VALID(not_fixed_sid) && not_fixed_sid != sid) if (SCRIPT_ID_VALID(not_fixed_sid) && not_fixed_sid != sid)
SCRIPT_ITEM(not_fixed_sid)->sn_sourced_sid = sid; SCRIPT_ITEM(not_fixed_sid)->sn_sourced_sid = sid;
} }
#endif
vim_free(fname_not_fixed); vim_free(fname_not_fixed);
vim_free(fname_exp); vim_free(fname_exp);

View File

@@ -731,6 +731,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
255,
/**/ /**/
254, 254,
/**/ /**/