]> granicus.if.org Git - vim/commitdiff
patch 8.2.3298: build failure with small features v8.2.3298
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Aug 2021 19:17:32 +0000 (21:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 Aug 2021 19:17:32 +0000 (21:17 +0200)
Problem:    Build failure with small features.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index a0e8370c276a19c58bd4e73f06a826756f9c568a..c071a7a137e0b75d9ba5f9157233a23b70ecf187 100644 (file)
@@ -2331,7 +2331,10 @@ do_one_cmd(
            || ea.cmdidx == CMD_global
            || ea.cmdidx == CMD_vglobal
            || ea.usefilter
-           || inside_block(&ea))
+#ifdef FEAT_EVAL
+           || inside_block(&ea)
+#endif
+           )
     {
        for (p = ea.arg; *p; ++p)
        {
index 48df2c1bda8f70d4d9258555f3507c10d51ca054..942f114f0ac36eb7937388d2778b98368e0a6de6 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3298,
 /**/
     3297,
 /**/