summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-11 14:08:04 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-11 14:08:04 +0200
commit1e624c912dff19e889c9398b56fe537952c02fef (patch)
tree4bb6b505bdfd9059810c22474d076cfbf04321af
parentf65927fc8d0102ef2d0fea776381caedf4c51e32 (diff)
downloadvim-git-1e624c912dff19e889c9398b56fe537952c02fef.tar.gz
patch 8.2.1180: build failure in small versionv8.2.1180
Problem: Build failure in small version. Solution: Add #ifdef.
-rw-r--r--src/ex_docmd.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 692192bb1..5436373e5 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 0d2681436..23ea21eb2 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1180,
+/**/
1179,
/**/
1178,