Bug 11897 – dmd should automatically add newline at end of ddoc file

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-01-10T09:57:26Z
Last change time
2024-12-13T18:15:55Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#18754 →

Comments

Comment #0 by code — 2014-01-10T09:57:26Z
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.
Comment #1 by robert.schadek — 2024-12-13T18:15:55Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18754 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB