]> granicus.if.org Git - vim/commitdiff
patch 8.0.0138 v8.0.0138
authorBram Moolenaar <Bram@vim.org>
Mon, 2 Jan 2017 15:16:39 +0000 (16:16 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 2 Jan 2017 15:16:39 +0000 (16:16 +0100)
Problem:    Small build fails.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index eebdcffb483dd53055c265a747d3f26217bac653..0c6536c3e9208d48d9c3bf0267c5e359b1a29d85 100644 (file)
@@ -789,7 +789,11 @@ do_cmdline(
     /* It's possible to create an endless loop with ":execute", catch that
      * here.  The value of 200 allows nested function calls, ":source", etc.
      * Allow 200 or 'maxfuncdepth', whatever is larger. */
-    if (call_depth >= 200 && call_depth >= p_mfd)
+    if (call_depth >= 200
+#ifdef FEAT_EVAL
+           && call_depth >= p_mfd
+#endif
+           )
     {
        EMSG(_("E169: Command too recursive"));
 #ifdef FEAT_EVAL
index 4a2b3c72041d197a28ef4bd0cef3d273d955a6e3..d8993da8e8742f616eede5e7c031d40da9aa7a7b 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    138,
 /**/
     137,
 /**/