Skip to content

Commit

Permalink
patch 8.2.2683: build failure without the +eval feature
Browse files Browse the repository at this point in the history
Problem:    Build failure without the +eval feature.
Solution:   Add #ifdef.
  • Loading branch information
brammool committed Apr 1, 2021
1 parent 529fb5a commit b91d3f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2683,
/**/
2682,
/**/
Expand Down
2 changes: 2 additions & 0 deletions src/vim9script.c
Expand Up @@ -31,6 +31,7 @@ in_vim9script(void)
|| (cmdmod.cmod_flags & CMOD_VIM9CMD);
}

#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Return TRUE if the current script is Vim9 script.
* This also returns TRUE in a legacy function in a Vim9 script.
Expand All @@ -42,6 +43,7 @@ current_script_is_vim9(void)
&& SCRIPT_ITEM(current_sctx.sc_sid)->sn_version
== SCRIPT_VERSION_VIM9;
}
#endif

/*
* ":vim9script".
Expand Down

0 comments on commit b91d3f8

Please sign in to comment.