Apache OpenOffice (AOO) Bugzilla – Issue 49461
A continued comment line is hiding the next makefile statement ..
Last modified: 2013-08-07 15:34:52 UTC
A continued comment line is hiding the next makefile statement even though there are empty lines between the commented line and the comment. Example makefile.mk: AAA:=hallo # xxxxxxxxxxxxxxxxxxx \ AAA+=xxx all : +echo "X$(AAA)Y" prints only "XhalloY"
found that vim syntax highlightening for *.mk works the same way!? but still it's quite unintuitive...
The man page says: A set of continued lines may be commented out by placing a single # at the start of the first line. So vim syntax highlightening has the same bug as the current dmake. The following patch should fix this problem. (At least for dmake ;) ) +++ dmake/getinp.c 19 May 2005 19:40:38 -0000 @@ -181,6 +181,7 @@ } else { /* empty line or "" */ cont = FALSE; + ignore = FALSE; q = p+strlen(p); /* strlen(p) is 1 or 0 */ }
with this patch dmake acts as expected, which is by the way the same as gnu make handles it. please commit.
Committed to CWS dmake43p01.
> with this patch dmake acts as expected, which is by the way the same as gnu > make handles it. please commit. I see this as a verification. ->VERIFIED
close