Bug 15474 – Ddoc - defining an empty macro at the end of a Macros section does not work

Status
NEW
Severity
minor
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-12-24T14:04:09Z
Last change time
2024-12-13T18:46:12Z
Assigned to
No Owner
Creator
Adam D. Ruppe
Moved to GitHub: dmd#17740 →

Comments

Comment #0 by destructionator — 2015-12-24T14:04:09Z
/** Test test2 test3 Macros: DDOC=$(BODY) DDOC_BLANKLINE= */ module t2; Generates: <!-- Generated by Ddoc from t2.d --> Test <br><br> test2 <br><br> test3 <br><br> Those blank lines are still there. Swap the order of definition of those two macros: /** Test test2 test3 Macros: DDOC_BLANKLINE= DDOC=$(BODY) */ module t2; Hey, look, blank line = nothing respected now! <!-- Generated by Ddoc from t2.d --> Test <br><br> test2 test3 <br><br> Notice that there isn't one between test2 and test3 anymore.
Comment #1 by robert.schadek — 2024-12-13T18:46:12Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17740 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB