mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 9.0.1131: build failure without the +eval feature
Problem: Build failure without the +eval feature. Solution: Move code inside #ifdef.
This commit is contained in:
parent
39c82ea656
commit
a2942c7468
@ -1538,9 +1538,10 @@ do_source_ext(
|
|||||||
current_sctx.sc_version = SCRIPT_VERSION_VIM9;
|
current_sctx.sc_version = SCRIPT_VERSION_VIM9;
|
||||||
else
|
else
|
||||||
current_sctx.sc_version = 1; // default script version
|
current_sctx.sc_version = 1; // default script version
|
||||||
current_sctx.sc_lnum = 0;
|
|
||||||
|
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
|
current_sctx.sc_lnum = 0;
|
||||||
|
|
||||||
# ifdef FEAT_PROFILE
|
# ifdef FEAT_PROFILE
|
||||||
if (do_profiling == PROF_YES)
|
if (do_profiling == PROF_YES)
|
||||||
prof_child_enter(&wait_start); // entering a child now
|
prof_child_enter(&wait_start); // entering a child now
|
||||||
@ -1767,9 +1768,10 @@ almosttheend:
|
|||||||
if (do_profiling == PROF_YES)
|
if (do_profiling == PROF_YES)
|
||||||
prof_child_exit(&wait_start); // leaving a child now
|
prof_child_exit(&wait_start); // leaving a child now
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
KeyTyped = save_KeyTyped;
|
||||||
#endif
|
#endif
|
||||||
current_sctx = save_current_sctx;
|
current_sctx = save_current_sctx;
|
||||||
KeyTyped = save_KeyTyped;
|
|
||||||
|
|
||||||
if (cookie.fp != NULL)
|
if (cookie.fp != NULL)
|
||||||
fclose(cookie.fp);
|
fclose(cookie.fp);
|
||||||
|
@ -695,6 +695,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 */
|
||||||
|
/**/
|
||||||
|
1131,
|
||||||
/**/
|
/**/
|
||||||
1130,
|
1130,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user