Mercurial > vim
diff src/ex_docmd.c @ 17081:81b791a843bc v8.1.1540
patch 8.1.1540: cannot build without the +eval feature
commit https://github.com/vim/vim/commit/0abb4273f6c14f9ebca8be67d42c6e67b4f612cf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 15 16:06:00 2019 +0200
patch 8.1.1540: cannot build without the +eval feature
Problem: Cannot build without the +eval feature.
Solution: Define ex_const if needed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Jun 2019 16:15:05 +0200 |
parents | da5f5836e90c |
children | 10e0d7d96cb0 |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -296,6 +296,7 @@ static void ex_tag_cmd(exarg_T *eap, cha # 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, /* * 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