www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 647] New: Ddoc: documenting anonymous enum prevents documentation of values from being emitted.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=647

           Summary: Ddoc: documenting anonymous enum prevents documentation
                    of values from being emitted.
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: tomas famolsen.dk


enum
{
// A enum value
A,
// B enum value
B
}

---------------------------

generates documentation for the values

// anonymous enum
enum
{
// A enum value
A,
// B enum value
B
}

generates nothing


-- 
Dec 04 2006
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=647





------- Comment #1 from tomas famolsen.dk  2006-12-04 03:22 -------
s#//#///#


-- 
Dec 04 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=647


smjg iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg iname.com




------- Comment #2 from smjg iname.com  2006-12-11 20:13 -------
(In reply to comment #1)
 s#//#///#

Pardon? --
Dec 11 2006
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=647





------- Comment #3 from wbaxter gmail.com  2006-12-11 21:22 -------
(In reply to comment #2)
 (In reply to comment #1)
 s#//#///#

Pardon?

He's speaking perl. He means replace // with /// in the example code. --
Dec 11 2006
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=647


arkangath gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




-- 
Feb 09 2007