diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-12-13 19:22:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-12-13 19:22:27 +0100 |
commit | 2a3cd3af455973d678f70303ebdd486f3478bc0d (patch) | |
tree | 527313455e746257d53ccaee2189f968aa63124c | |
parent | acbae18df528b6aee72ecfd66e344dc8be7b3775 (diff) | |
download | vim-git-2a3cd3af455973d678f70303ebdd486f3478bc0d.tar.gz |
patch 8.2.2140: build failure with tiny featuresv8.2.2140
Problem: Build failure with tiny features.
Solution: Add #ifdef.
-rw-r--r-- | src/ex_docmd.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b7beabd2d..b08482232 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 f6c51e1f0..cf9fbc3d5 100644 --- 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, |