Commits

blackbird  committed a2a403b

[svn] fixed small bug in the pygments python traceback highlighter

  • Participants
  • Parent commits 3a032b1
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

              bygroups(Comment, Text)), # for doctests...
             (r'^(.+)(: )(.+)(\n)',
              bygroups(Name.Class, Text, Name.Identifier, Text), '#pop'),
-            (r'^([a-zA-Z_][a-zA-Z0-9_]*)(\n)',
+            (r'^([a-zA-Z_][a-zA-Z0-9_]*)(:?\n)',
              bygroups(Name.Class, Text), '#pop')
         ],
     }