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

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 195 - DDoc generates bad output when example contains "protected" attribute
Summary: DDoc generates bad output when example contains "protected" attribute
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D1 (retired)
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: ddoc, patch
Depends on:
Blocks:
Reported: 2006年06月14日 10:04 UTC by Sean Kelly
Modified: 2014年02月15日 13:19 UTC (History)
4 users (show)

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Sean Kelly 2006年06月14日 10:04:11 UTC
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 Don 2009年10月28日 00:58:19 UTC
Fixed by the patch to bug 1117.
Comment 2 Leandro Lucarella 2009年10月29日 14:36:56 UTC
Related SVN revision: http://www.dsource.org/projects/dmd/changeset/227 
Comment 3 Walter Bright 2009年11月06日 11:28:43 UTC
Fixed dmd 1.051 and 2.036


AltStyle によって変換されたページ (->オリジナル) /