Thread overview
[Issue 195] New: DDoc generates bad output when example contains "protected" attribute
Jun 14, 2006
d-bugmail
Oct 28, 2009
Don
Oct 29, 2009
Leandro Lucarella
Nov 06, 2009
Walter Bright
June 14, 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@digitalmars.com
        ReportedBy: sean@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>


-- 

October 28, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=195


Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugdbug@yahoo.com.au


--- Comment #1 from Don <clugdbug@yahoo.com.au> 2009-10-28 00:58:19 PDT ---
Fixed by the patch to bug 1117.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 29, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=195


Leandro Lucarella <llucax@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax@gmail.com


--- Comment #2 from Leandro Lucarella <llucax@gmail.com> 2009-10-29 14:36:56 PDT ---
Related SVN revision: http://www.dsource.org/projects/dmd/changeset/227

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 06, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=195


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2009-11-06 11:28:43 PST ---
Fixed dmd 1.051 and 2.036

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------