[Issue 15474] New: Ddoc - defining an empty macro at the end of a Macros section does not work
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 24 06:04:09 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15474
Issue ID: 15474
Summary: Ddoc - defining an empty macro at the end of a Macros
section does not work
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: destructionator at gmail.com
/**
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.
--
More information about the Digitalmars-d-bugs
mailing list