changeset 21259:ee0e2ada88c0 v8.2.1180

patch 8.2.1180: build failure in small version Commit: https://github.com/vim/vim/commit/1e624c912dff19e889c9398b56fe537952c02fef Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 11 14:08:04 2020 +0200 patch 8.2.1180: build failure in small version Problem: Build failure in small version. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Jul 2020 14:15:05 +0200
parents ace03064469a
children 57acf261ab51
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -2750,10 +2750,11 @@ parse_command_modifiers(exarg_T *eap, ch
 				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
--- 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,