[Issue 11897] New: dmd should automatically add newline at end of file
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 10 09:57:28 PST 2014
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: nobody at puremagic.com
ReportedBy: code at dawg.eu
--- Comment #0 from Martin Nowak <code at dawg.eu> 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: -------
More information about the Digitalmars-d-bugs
mailing list