summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-01-02 16:16:39 +0100
committerBram Moolenaar <Bram@vim.org>2017-01-02 16:16:39 +0100
commitb094ff4b2be4d8b7364c566a1cc7e27aa4452a50 (patch)
treef43190d95455e433a8fef8f9337bc1541b7e197e
parent777b30f827bcbe10a40640b1bf0361cb93a16be1 (diff)
downloadvim-git-b094ff4b2be4d8b7364c566a1cc7e27aa4452a50.tar.gz
patch 8.0.0138v8.0.0138
Problem: Small build fails. Solution: Add #ifdef.
-rw-r--r--src/ex_docmd.c6
-rw-r--r--src/version.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index eebdcffb4..0c6536c3e 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -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
diff --git a/src/version.c b/src/version.c
index 4a2b3c720..d8993da8e 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 138,
+/**/
137,
/**/
136,