summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-15 16:06:00 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-15 16:06:00 +0200
commit0abb4273f6c14f9ebca8be67d42c6e67b4f612cf (patch)
tree598093e30cec15297730550fd05b9d54ea1a3bd6 /src/ex_docmd.c
parent9937a055437ef67b57a1bdec8f0799b669c9dbf0 (diff)
downloadvim-git-0abb4273f6c14f9ebca8be67d42c6e67b4f612cf.tar.gz
patch 8.1.1540: cannot build without the +eval featurev8.1.1540
Problem: Cannot build without the +eval feature. Solution: Define ex_const if needed.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index cc6a920a2..91ced52a5 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -296,6 +296,7 @@ static void ex_tag_cmd(exarg_T *eap, char_u *name);
# define ex_endtry ex_ni
# define ex_endfunction ex_ni
# define ex_let ex_ni
+# define ex_const ex_ni
# define ex_unlet ex_ni
# define ex_lockvar ex_ni
# define ex_unlockvar ex_ni
@@ -4852,6 +4853,7 @@ replace_makeprg(exarg_T *eap, char_u *p, char_u **cmdlinep)
/*
* Expand file name in Ex command argument.
+ * When an error is detected, "errormsgp" is set to a non-NULL pointer.
* Return FAIL for failure, OK otherwise.
*/
int