0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.1245: build failure in tiny version

Problem:    Build failure in tiny version.
Solution:   Add #ifdef.
This commit is contained in:
Bram Moolenaar 2020-07-19 16:32:09 +02:00
parent 6802cce407
commit f398238a37
2 changed files with 10 additions and 2 deletions

View File

@ -1768,8 +1768,11 @@ getsourceline(int c UNUSED, void *cookie, int indent UNUSED, int do_concat)
if (sp->nextline != NULL if (sp->nextline != NULL
&& (*(p = skipwhite(sp->nextline)) == '\\' && (*(p = skipwhite(sp->nextline)) == '\\'
|| (p[0] == '"' && p[1] == '\\' && p[2] == ' ') || (p[0] == '"' && p[1] == '\\' && p[2] == ' ')
#ifdef FEAT_EVAL
|| (in_vim9script() || (in_vim9script()
&& (*p == NUL || vim9_comment_start(p))))) && (*p == NUL || vim9_comment_start(p)))
#endif
))
{ {
garray_T ga; garray_T ga;
@ -1798,8 +1801,11 @@ getsourceline(int c UNUSED, void *cookie, int indent UNUSED, int do_concat)
ga_concat(&ga, p + 1); ga_concat(&ga, p + 1);
} }
else if (!(p[0] == '"' && p[1] == '\\' && p[2] == ' ') else if (!(p[0] == '"' && p[1] == '\\' && p[2] == ' ')
#ifdef FEAT_EVAL
&& !(in_vim9script() && !(in_vim9script()
&& (*p == NUL || vim9_comment_start(p)))) && (*p == NUL || vim9_comment_start(p)))
#endif
)
break; break;
/* drop a # comment or "\ comment line */ /* drop a # comment or "\ comment line */
} }

View File

@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1245,
/**/ /**/
1244, 1244,
/**/ /**/