From 1e624c912dff19e889c9398b56fe537952c02fef Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 11 Jul 2020 14:08:04 +0200 Subject: patch 8.2.1180: build failure in small version Problem: Build failure in small version. Solution: Add #ifdef. --- src/ex_docmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ex_docmd.c') 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 -- cgit v1.2.3