Bug 195 – DDoc generates bad output when example contains "protected" attribute

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-06-14T10:04:00Z
Last change time
2014-02-15T13:19:58Z
Keywords
ddoc, patch
Assigned to
nobody
Creator
sean

Comments

Comment #0 by sean — 2006-06-14T10:04:11Z
The code: /** * --- * class C { * protected: * void fn() {} * } * --- */ class C { } void main() { } generates this HTML: <br><br> $(DDOC_MODULE_MEMBERS <dt><big>class <u>C</u>; </big></dt> $(DDOC_DECL_DD <pre class="d_code"> class C { </pre> <b>protected:</b><br> void fn() {} } <pre class="d_code"> </pre> <br><br> <dl></dl> <br><br>
Comment #1 by clugdbug — 2009-10-28T00:58:19Z
Fixed by the patch to bug 1117.
Comment #2 by leandro.lucarella — 2009-10-29T14:36:56Z
Comment #3 by bugzilla — 2009-11-06T11:28:43Z
Fixed dmd 1.051 and 2.036