]> granicus.if.org Git - vim/commitdiff
patch 8.1.1540: cannot build without the +eval feature v8.1.1540
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 14:06:00 +0000 (16:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jun 2019 14:06:00 +0000 (16:06 +0200)
Problem:    Cannot build without the +eval feature.
Solution:   Define ex_const if needed.

src/ex_docmd.c
src/version.c

index cc6a920a23a0e036cd35e8113edf4c64d1ea9d64..91ced52a5f8ad2b8d440680d91ab9126a8c96517 100644 (file)
@@ -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
index 45af9c09548ca8f99b62918e5d55fb9eeb99b7bc..7e9cac3f24d59e403fd291e3ace37fcdf6799a9b 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1540,
 /**/
     1539,
 /**/