From: Bram Moolenaar Date: Sun, 19 Jul 2020 14:32:09 +0000 (+0200) Subject: patch 8.2.1245: build failure in tiny version X-Git-Tag: v8.2.1245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f398238a37522fed9a2e7915741d1ab14ccc81a0;p=vim patch 8.2.1245: build failure in tiny version Problem: Build failure in tiny version. Solution: Add #ifdef. --- diff --git a/src/scriptfile.c b/src/scriptfile.c index 55145733e..ce269a1cd 100644 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1768,8 +1768,11 @@ getsourceline(int c UNUSED, void *cookie, int indent UNUSED, int do_concat) if (sp->nextline != NULL && (*(p = skipwhite(sp->nextline)) == '\\' || (p[0] == '"' && p[1] == '\\' && p[2] == ' ') +#ifdef FEAT_EVAL || (in_vim9script() - && (*p == NUL || vim9_comment_start(p))))) + && (*p == NUL || vim9_comment_start(p))) +#endif + )) { garray_T ga; @@ -1798,8 +1801,11 @@ getsourceline(int c UNUSED, void *cookie, int indent UNUSED, int do_concat) ga_concat(&ga, p + 1); } else if (!(p[0] == '"' && p[1] == '\\' && p[2] == ' ') +#ifdef FEAT_EVAL && !(in_vim9script() - && (*p == NUL || vim9_comment_start(p)))) + && (*p == NUL || vim9_comment_start(p))) +#endif + ) break; /* drop a # comment or "\ comment line */ } diff --git a/src/version.c b/src/version.c index c8dab6521..24ce5e82c 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 */ +/**/ + 1245, /**/ 1244, /**/