www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14015] New: ddoc Error: function unmatched as result of


          Issue ID: 14015
           Summary: ddoc Error: function unmatched as result of underscore
                    in unittest comment
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: edder tkwsping.nl

Generating ddoc from the following code results in an error:

void dummy()

/// Testing _name
    assert( true );

$ dmd -main -D ddoc.d 
ddoc.d(2): Error: function ddoc.dummy unmatched --- in DDoc comment

The error goes away if you remove the underscore, or wrap it in quotes
("_name") and it seems to only occur in documentation comments before

Jan 20 2015