diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-02 16:16:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-02 16:16:39 +0100 |
commit | b094ff4b2be4d8b7364c566a1cc7e27aa4452a50 (patch) | |
tree | f43190d95455e433a8fef8f9337bc1541b7e197e /src | |
parent | 777b30f827bcbe10a40640b1bf0361cb93a16be1 (diff) |
patch 8.0.0138v8.0.0138
Problem: Small build fails.
Solution: Add #ifdef.
Diffstat (limited to 'src')
-rw-r--r-- | src/ex_docmd.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index eebdcffb48..0c6536c3e9 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 4a2b3c7204..d8993da8e8 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, |