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/ex_docmd.c | |
parent | 777b30f827bcbe10a40640b1bf0361cb93a16be1 (diff) | |
download | vim-b094ff4b2be4d8b7364c566a1cc7e27aa4452a50.zip |
patch 8.0.0138
Problem: Small build fails.
Solution: Add #ifdef.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 6 |
1 files changed, 5 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 |