]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.1180: build failure in small version v8.2.1180
authorBram Moolenaar <Bram@vim.org>
Sat, 11 Jul 2020 12:08:04 +0000 (14:08 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 11 Jul 2020 12:08:04 +0000 (14:08 +0200)
Problem:    Build failure in small version.
Solution:   Add #ifdef.

src/ex_docmd.c
src/version.c

index 692192bb1886ef4007ef3a2b2b8e68483c7f2400..5436373e53ebc1e719f72e79c2150b939a8b0414 100644 (file)
@@ -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
index 0d268143630339988683bfcc659e8af87725f9de..23ea21eb239dbddbb3243d180c93166925c84789 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1180,
 /**/
     1179,
 /**/