# HG changeset patch # User Bram Moolenaar # Date 1595169904 -7200 # Node ID 6f5129b51c49d88cfbb745c9a738a8df0a1b3311 # Parent 3788dfe9d3fd6c854ccec6532204b64191ec74bf patch 8.2.1245: build failure in tiny version Commit: https://github.com/vim/vim/commit/f398238a37522fed9a2e7915741d1ab14ccc81a0 Author: Bram Moolenaar Date: Sun Jul 19 16:32:09 2020 +0200 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 --- a/src/scriptfile.c +++ b/src/scriptfile.c @@ -1768,8 +1768,11 @@ getsourceline(int c UNUSED, void *cookie 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 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 --- 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 */ /**/ + 1245, +/**/ 1244, /**/ 1243,