]> granicus.if.org Git - vim/commitdiff
patch 8.2.1348: build failure without the eval feature v8.2.1348
authorBram Moolenaar <Bram@vim.org>
Sat, 1 Aug 2020 19:11:38 +0000 (21:11 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 1 Aug 2020 19:11:38 +0000 (21:11 +0200)
Problem:    Build failure without the eval feature.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index 1f36bf7e054c6c2cd4866b0bd0aefdef307c9c29..185fc49cb4bfe86a6540f6c842388fd528acc507 100644 (file)
@@ -8581,7 +8581,6 @@ eval_vars(
                                 (long)(current_sctx.sc_lnum + SOURCING_LNUM));
                result = strbuf;
                break;
-#endif
 
        case SPEC_SID:
                if (current_sctx.sc_sid <= 0)
@@ -8592,6 +8591,7 @@ eval_vars(
                sprintf((char *)strbuf, "<SNR>%d_", current_sctx.sc_sid);
                result = strbuf;
                break;
+#endif
 
 #ifdef FEAT_CLIENTSERVER
        case SPEC_CLIENT:       // Source of last submitted input
index 6b1a3677378ec2ded8719c3a5b22dc649bba25ba..e715d8ae37b20de3fd80e753f464113690a6743a 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1348,
 /**/
     1347,
 /**/