Changeset 1440

Show
Ignore:
Timestamp:
10/22/06 17:55:28 (2 years ago)
Author:
mgood
Message:

TracPygmentsPlugin:

the mapping of Token is unnecessary since it already falls back to None if no match is found

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tracpygmentsplugin/0.11/tracpygments/__init__.py

    r1436 r1440  
    154154 
    155155    class TracHtmlFormatter(HtmlFormatter): 
     156        # more specific should come before their parents in order to 
     157        # resolve them in the right order 
    156158        token_classes = [ 
    157159            (Comment, 'code-comment'), 
     
    162164            (Keyword.Type, 'code-type'), 
    163165            (Keyword, 'code-keyword'), 
    164             (Token, None), 
    165166        ] 
    166167