From 6f6d58c3809010b1386634c1aeec61f1a66e72c2 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 5 Aug 2021 21:17:32 +0200 Subject: [PATCH] patch 8.2.3298: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef. --- src/ex_docmd.c | 5 ++++- src/version.c | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index a0e8370c2..c071a7a13 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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) { diff --git a/src/version.c b/src/version.c index 48df2c1bd..942f114f0 100644 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3298, /**/ 3297, /**/ -- 2.40.0