summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-07-31 21:44:35 +0200
committerBram Moolenaar <Bram@vim.org>2021-07-31 21:44:35 +0200
commit335c8c7b206df776b59fb63a1c7f91c8b1425398 (patch)
tree1a00d55a61bd4ada50d3e7ca0cfab0c78b6e7f6d /src/ex_docmd.c
parent620c959c6c00e469c4d3b1ab2e08e4767ee142a4 (diff)
downloadvim-git-335c8c7b206df776b59fb63a1c7f91c8b1425398.tar.gz
patch 8.2.3260: build failure with small featuresv8.2.3260
Problem: Build failure with small features. Solution: Add #ifdef.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 61feda257..773a6bec9 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1388,6 +1388,7 @@ do_cmdline(
return retval;
}
+#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Handle when "did_throw" is set after executing commands.
*/
@@ -1455,7 +1456,6 @@ handle_did_throw()
estack_pop();
}
-#ifdef FEAT_EVAL
/*
* Obtain a line when inside a ":while" or ":for" loop.
*/