From 1e624c912dff19e889c9398b56fe537952c02fef Mon Sep 17 00:00:00 2001 From: Bram Moolenaar <Bram@vim.org> Date: Sat, 11 Jul 2020 14:08:04 +0200 Subject: [PATCH] patch 8.2.1180: build failure in small version Problem: Build failure in small version. Solution: Add #ifdef. --- src/ex_docmd.c | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 692192bb18..5436373e53 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -2750,10 +2750,11 @@ parse_command_modifiers(exarg_T *eap, char **errormsg, int skip_only) if (*p == NUL || ends_excmd(*p)) break; } +#ifdef FEAT_EVAL // Avoid that "filter(arg)" is recognized. if (in_vim9script() && !VIM_ISWHITE(*p)) break; - +#endif if (skip_only) p = skip_vimgrep_pat(p, NULL, NULL); else diff --git a/src/version.c b/src/version.c index 0d26814363..23ea21eb23 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1180, /**/ 1179, /**/ -- GitLab