0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2140: build failure with tiny features

Problem:    Build failure with tiny features.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar
2020-12-13 19:22:27 +01:00
parent acbae18df5
commit 2a3cd3af45
2 changed files with 4 additions and 0 deletions

View File

@@ -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;
}