changeset 23944:6e593e0aaadf v8.2.2514

patch 8.2.2514: Vim9: build error in tiny version Commit: https://github.com/vim/vim/commit/2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 14 14:07:34 2021 +0100 patch 8.2.2514: Vim9: build error in tiny version Problem: Vim9: build error in tiny version. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Feb 2021 14:15:03 +0100
parents b36d1a3ba39b
children ae156af6f28a
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1785,7 +1785,9 @@ do_one_cmd(
     if (parse_command_modifiers(&ea, &errormsg, &cmdmod, FALSE) == FAIL)
 	goto doend;
     apply_cmdmod(&cmdmod);
+#ifdef FEAT_EVAL
     vim9script = in_vim9script();
+#endif
     after_modifier = ea.cmd;
 
 #ifdef FEAT_EVAL
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    2514,
+/**/
     2513,
 /**/
     2512,