diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-02 13:41:49 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-02 13:41:49 +0000 |
commit | a2942c74683be3f67c6044c2886dc6c237358b3d (patch) | |
tree | c990ef030267af30417917a9d3e91450d174ade1 /src | |
parent | 39c82ea6563f8467b8d36f0ecb8ba93a0685c280 (diff) |
patch 9.0.1131: build failure without the +eval featurev9.0.1131
Problem: Build failure without the +eval feature.
Solution: Move code inside #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/scriptfile.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/scriptfile.c b/src/scriptfile.c index 4b1fa6b148..b5a381cff3 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1538,9 +1538,10 @@ do_source_ext( current_sctx.sc_version = SCRIPT_VERSION_VIM9; else current_sctx.sc_version = 1; // default script version - current_sctx.sc_lnum = 0; #ifdef FEAT_EVAL + current_sctx.sc_lnum = 0; + # ifdef FEAT_PROFILE if (do_profiling == PROF_YES) prof_child_enter(&wait_start); // entering a child now @@ -1767,9 +1768,10 @@ almosttheend: if (do_profiling == PROF_YES) prof_child_exit(&wait_start); // leaving a child now # endif + + KeyTyped = save_KeyTyped; #endif current_sctx = save_current_sctx; - KeyTyped = save_KeyTyped; if (cookie.fp != NULL) fclose(cookie.fp); diff --git a/src/version.c b/src/version.c index 212d08dbf1..babedcc63e 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1131, +/**/ 1130, /**/ 1129, |