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:
@@ -3528,6 +3528,7 @@ find_ex_command(
|
|||||||
if (eap->cmdidx == CMD_final && p - eap->cmd == 4)
|
if (eap->cmdidx == CMD_final && p - eap->cmd == 4)
|
||||||
eap->cmdidx = CMD_finally;
|
eap->cmdidx = CMD_finally;
|
||||||
|
|
||||||
|
#ifdef FEAT_EVAL
|
||||||
if (eap->cmdidx != CMD_SIZE && in_vim9script()
|
if (eap->cmdidx != CMD_SIZE && in_vim9script()
|
||||||
&& !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!'
|
&& !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!'
|
||||||
&& (cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0)
|
&& (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);
|
semsg(_(e_command_not_followed_by_white_space_str), eap->cmd);
|
||||||
eap->cmdidx = CMD_SIZE;
|
eap->cmdidx = CMD_SIZE;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2140,
|
||||||
/**/
|
/**/
|
||||||
2139,
|
2139,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user