]> granicus.if.org Git - vim/commitdiff
patch 8.2.1911: tiny build fails v8.2.1911
authorBram Moolenaar <Bram@vim.org>
Tue, 27 Oct 2020 08:12:45 +0000 (09:12 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 27 Oct 2020 08:12:45 +0000 (09:12 +0100)
Problem:    Tiny build fails.
Solution:   Add #ifdef.

src/insexpand.c
src/version.c

index a0aa1024ac2b769431c2352ba3caa93002a0fcd0..87aaf7d6bcd6e2cd20509bfe21f535801af712f5 100644 (file)
@@ -4067,10 +4067,11 @@ ins_complete(int c, int enable_pum)
        }
        else
        {
+#if defined(FEAT_COMPL_FUNC) || defined(FEAT_EVAL)
            // Update completion sequence number when needed.
            if (compl_curr_match->cp_number == -1)
                ins_compl_update_sequence_numbers();
-
+#endif
            // The match should always have a sequence number now, this is
            // just a safety check.
            if (compl_curr_match->cp_number != -1)
index 04bfc7db83ea2747922dbd72dc307212430823d9..21370004a4c8edfc5f120623b70abc267c5fbc11 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1911,
 /**/
     1910,
 /**/