Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changes between Version 4 and Version 5 of SyntaxHighlightingBugs

Show
Ignore:
Author:
jcc7 (IP: 192.149.244.9)
Timestamp:
07/20/07 15:15:55 (14 years ago)
Comment:

no known bugs

Legend:

Unmodified
Added
Removed
Modified
  • SyntaxHighlightingBugs

    v4 v5  
    1 There is at least [http://www.dsource.org/forums/viewtopic.php?p=15314#15314 one bug in the Pygments-based D parser]. It seems to be related to escaped backslashes in string literals denoted with double quote marks. 
    2  
    3 {{{ 
    4 #!d 
    5 const char[] quoteReg = "\'"; 
    6 const char[] backslashReg = "\\"; 
    7 const char[] quoteReg2 = "\'"; 
    8  
    9 void main() 
    10 
    11     printf("Hello, World!");   
    12 
    13 }}} 
     1''I don't know of any bugs in the current release of the Pygments-based D parser, but I would describe them here if I found any.'' 
    142 
    153 
    16 Here are some more examples: 
    17  * EscapeSequencesExample (below the "backslashReg" line) 
    18  * StringLiteralsExample (below "const char[] a3" line) 
    19  * CreateLinkUsingCom (below the "char[] SCPath = " line) 
    20  * ApplicationPathExample (below the line with "int j = rfind(strtmp") 
    21  * [http://www.dsource.org/projects/tutorials/browser/trunk/src/tutorials/d2html/d2html.d#L253 d2html] (below line that contains "dst.writeLine("<link rel=\"stylesheet\" href=\"style.css\"" ~ (xhtmlFormat ? "\\" : "") ~ ">");") 
    224 
    23 I might need to create a new ticket or add a comment to [http://www.dsource.org/projects/dsource/ticket/8 dsource ticket #8] to notify someone who would be able to fix this bug. 
    245 
    25 ''This is fixed in Pygments as of r3772, and should be updated on dsource shortly. -KirkMcDonald''