changeset 29261:2f2c3448a337 v8.2.5149

patch 8.2.5149: cannot build without the +eval feature Commit: https://github.com/vim/vim/commit/6689df024bce4309ec5884e445738fe07ee4ffcc Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 22 18:14:29 2022 +0100 patch 8.2.5149: cannot build without the +eval feature Problem: Cannot build without the +eval feature. (Tony Mechelynck) Solution: Add #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Wed, 22 Jun 2022 19:15:03 +0200
parents 81c09f7f8b0c
children e6542b089375
files src/ex_getln.c src/version.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1206,7 +1206,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
 {
     int		i;
     int		c;
+#ifdef FEAT_EVAL
     int		save_new_cmdpos = new_cmdpos;
+#endif
 
 #ifdef USE_ON_FLY_SCROLL
     dont_scroll = TRUE;	// disallow scrolling here
@@ -1265,7 +1267,9 @@ cmdline_insert_reg(int *gotesc UNUSED)
 	}
 #endif
     }
+#ifdef FEAT_EVAL
     new_cmdpos = save_new_cmdpos;
+#endif
 
     // remove the double quote
     redrawcmd();
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    5149,
+/**/
     5148,
 /**/
     5147,