http://d.puremagic.com/issues/show_bug.cgi?id=7656

           Summary: ddoc misinterprets commented parentheses in an example
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: schvei...@yahoo.com


--- Comment #0 from Steven Schveighoffer <schvei...@yahoo.com> 2012-03-06 
08:06:20 PST ---
Consider this example:

--------
int x; // This is a comment (and here is some
int y; // more information about that comment)
--------

In the resulting html file, the second line (int y) is colored as if it were
commented out, and the output looks like this:

int x; // This is a comment (and here is some
) int y; // more information about that comment

As a workaround, you can avoid parentheses inside comments.

This likely affects D1 too, but I'm not sure.  Tested with 2.058

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

Reply via email to