]> granicus.if.org Git - vim/commitdiff
patch 8.2.2514: Vim9: build error in tiny version v8.2.2514
authorBram Moolenaar <Bram@vim.org>
Sun, 14 Feb 2021 13:07:34 +0000 (14:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 14 Feb 2021 13:07:34 +0000 (14:07 +0100)
Problem:    Vim9: build error in tiny version.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index 0bb5142d7d0c45c7a92b6067bd4979c6dc3ddd8d..0dd21eb010129faadb9513d75ebbed5f5b2fc676 100644 (file)
@@ -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
index 20bc9a225ab30dad7e76198523ef4b5e92906daf..21316e267f94f270ed876b5226e628644be80f7e 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2514,
 /**/
     2513,
 /**/