changeset 21518:0b448762ebbd v8.2.1309

patch 8.2.1309: build failure with tiny version Commit: https://github.com/vim/vim/commit/461f21242a8fc7f2fe9d1c723741eeda45f0ac72 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 28 20:25:47 2020 +0200 patch 8.2.1309: build failure with tiny version Problem: Build failure with tiny version. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jul 2020 20:30:05 +0200
parents 2227972e6697
children 34b25c9c3d3f
files src/ex_cmds.c src/ex_docmd.c src/version.c
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3176,9 +3176,10 @@ ex_append(exarg_T *eap)
     int		vcol;
     int		empty = (curbuf->b_ml.ml_flags & ML_EMPTY);
 
+#ifdef FEAT_EVAL
     if (not_in_vim9(eap) == FAIL)
 	return;
-
+#endif
     // the ! flag toggles autoindent
     if (eap->forceit)
 	curbuf->b_p_ai = !curbuf->b_p_ai;
@@ -3320,9 +3321,10 @@ ex_change(exarg_T *eap)
 {
     linenr_T	lnum;
 
+#ifdef FEAT_EVAL
     if (not_in_vim9(eap) == FAIL)
 	return;
-
+#endif
     if (eap->line2 >= eap->line1
 	    && u_save(eap->line1 - 1, eap->line2 + 1) == FAIL)
 	return;
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -5686,8 +5686,10 @@ ex_stop(exarg_T *eap)
     static void
 ex_exit(exarg_T *eap)
 {
+#ifdef FEAT_EVAL
     if (not_in_vim9(eap) == FAIL)
 	return;
+#endif
 #ifdef FEAT_CMDWIN
     if (cmdwin_type != 0)
     {
--- 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 */
 /**/
+    1309,
+/**/
     1308,
 /**/
     1307,