https://d.puremagic.com/issues/show_bug.cgi?id=11897
Summary: dmd should automatically add newline at end of file
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Martin Nowak <[email protected]> 2014-01-10 09:57:26 PST ---
echo -n 'FOO=foo' > foo.ddoc
echo -n 'BAR=bar' > bar.ddoc
echo 'Ddoc\n$(FOO)/$(BAR)' > bug.dd
dmd -Dfbug.html foo.ddoc bar.ddoc bug.dd
Because there is no newline after 'FOO=foo' the concatenated files look like
this.
FOO=fooBAR=bar and subsequently FOO will be replaced by fooBAR=bar while BAR is
undefined.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------