]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.5149: cannot build without the +eval feature v8.2.5149
authorBram Moolenaar <Bram@vim.org>
Wed, 22 Jun 2022 17:14:29 +0000 (18:14 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 22 Jun 2022 17:14:29 +0000 (18:14 +0100)
Problem:    Cannot build without the +eval feature. (Tony Mechelynck)
Solution:   Add #ifdefs.

src/ex_getln.c
src/version.c

index b499aba141b670cbef340f72cc0aa581e14f2355..8dc03dc336c80d62167b443516f41cdf68f6134c 100644 (file)
@@ -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();
index e567a3a9995ab3a1075b7bcad4b17ebfef155344..609c95559d34740938b20fffc372c71ca673b5d8 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5149,
 /**/
     5148,
 /**/