Mercurial > vim
changeset 23189:ea43f4117d06 v8.2.2140
patch 8.2.2140: build failure with tiny features
Commit: https://github.com/vim/vim/commit/2a3cd3af455973d678f70303ebdd486f3478bc0d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 13 19:22:27 2020 +0100
patch 8.2.2140: build failure with tiny features
Problem: Build failure with tiny features.
Solution: Add #ifdef.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Dec 2020 19:30:04 +0100 |
parents | 1691f44472e0 |
children | 42b507fffe8f |
files | src/ex_docmd.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3528,6 +3528,7 @@ find_ex_command( if (eap->cmdidx == CMD_final && p - eap->cmd == 4) eap->cmdidx = CMD_finally; +#ifdef FEAT_EVAL if (eap->cmdidx != CMD_SIZE && in_vim9script() && !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!' && (cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0) @@ -3535,6 +3536,7 @@ find_ex_command( semsg(_(e_command_not_followed_by_white_space_str), eap->cmd); eap->cmdidx = CMD_SIZE; } +#endif return p; }