[Issue 195] New: DDoc generates bad output when example contains "protected" attribute
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 14 08:04:13 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=195
Summary: DDoc generates bad output when example contains
"protected" attribute
Product: D
Version: 0.160
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: sean at f4.ca
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>
--
More information about the Digitalmars-d-bugs
mailing list