changeset 25523:a1804f725a9a v8.2.3298

patch 8.2.3298: build failure with small features Commit: https://github.com/vim/vim/commit/6f6d58c3809010b1386634c1aeec61f1a66e72c2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 5 21:17:32 2021 +0200 patch 8.2.3298: build failure with small features Problem: Build failure with small features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 Aug 2021 21:30:03 +0200
parents 3555268fbaf5
children 359c6acd9ad1
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
 	{
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3298,
+/**/
     3297,
 /**/
     3296,