[Issue 7656] New: ddoc misinterprets commented parentheses in an	example
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Tue Mar  6 08:06:19 PST 2012
    
    
  
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: nobody at puremagic.com
        ReportedBy: schveiguy at yahoo.com
--- Comment #0 from Steven Schveighoffer <schveiguy at 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: -------
    
    
More information about the Digitalmars-d-bugs
mailing list