From 2a3cd3af455973d678f70303ebdd486f3478bc0d Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 13 Dec 2020 19:22:27 +0100 Subject: [PATCH] patch 8.2.2140: build failure with tiny features Problem: Build failure with tiny features. Solution: Add #ifdef. --- src/ex_docmd.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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, /**/