# HG changeset patch # User Bram Moolenaar # Date 1607884204 -3600 # Node ID ea43f4117d06219ed08bac06891601ab4bf8adb8 # Parent 1691f44472e00fd40f0e5b2bc6b729922b3375e5 patch 8.2.2140: build failure with tiny features Commit: https://github.com/vim/vim/commit/2a3cd3af455973d678f70303ebdd486f3478bc0d Author: Bram Moolenaar 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. diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- 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; } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2140, +/**/ 2139, /**/ 2138,