Skip to content

Commit 2a3cd3a

Browse files
committed
patch 8.2.2140: build failure with tiny features
Problem: Build failure with tiny features. Solution: Add #ifdef.
1 parent acbae18 commit 2a3cd3a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/ex_docmd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3528,13 +3528,15 @@ find_ex_command(
35283528
if (eap->cmdidx == CMD_final && p - eap->cmd == 4)
35293529
eap->cmdidx = CMD_finally;
35303530

3531+
#ifdef FEAT_EVAL
35313532
if (eap->cmdidx != CMD_SIZE && in_vim9script()
35323533
&& !IS_WHITE_OR_NUL(*p) && !ends_excmd(*p) && *p != '!'
35333534
&& (cmdnames[eap->cmdidx].cmd_argt & EX_NONWHITE_OK) == 0)
35343535
{
35353536
semsg(_(e_command_not_followed_by_white_space_str), eap->cmd);
35363537
eap->cmdidx = CMD_SIZE;
35373538
}
3539+
#endif
35383540

35393541
return p;
35403542
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2140,
753755
/**/
754756
2139,
755757
/**/

0 commit comments

Comments
 (0)