]> granicus.if.org Git - vim/commitdiff
patch 8.2.1309: build failure with tiny version v8.2.1309
authorBram Moolenaar <Bram@vim.org>
Tue, 28 Jul 2020 18:25:47 +0000 (20:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 28 Jul 2020 18:25:47 +0000 (20:25 +0200)
Problem:    Build failure with tiny version.
Solution:   Add #ifdef.

src/ex_cmds.c
src/ex_docmd.c
src/version.c

index 895912f4197ec5b93e4089a6a51df5511dde0a03..88161fa2c44598b3fbbcd6f854d70e8b6485ba14 100644 (file)
@@ -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;
index fe654104daf6cf2375bfd507a7c03249124824ca..6a2e91c9fea7caf00ecc3048a63276ece44bab6f 100644 (file)
@@ -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)
     {
index 710c570604c5106d1a338d106192805fe1e1fca1..fb641589bf759f62dfe85d438197483c94354603 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1309,
 /**/
     1308,
 /**/