From: Bram Moolenaar Date: Sun, 13 Dec 2020 18:22:27 +0000 (+0100) Subject: patch 8.2.2140: build failure with tiny features X-Git-Tag: v8.2.2140 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a3cd3af455973d678f70303ebdd486f3478bc0d;p=thirdparty%2Fvim.git 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 index b7beabd2dd..b08482232b 100644 --- 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 index f6c51e1f0a..cf9fbc3d52 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2140, /**/ 2139, /**/