digitalmars.D.bugs - [Issue 11897] New: dmd should automatically add newline at end of file
- d-bugmail puremagic.com (24/24) Jan 10 2014 https://d.puremagic.com/issues/show_bug.cgi?id=11897
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 puremagic.com ReportedBy: code dawg.eu 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: -------
Jan 10 2014