diff options
author | gbrandl <devnull@localhost> | 2008-05-09 08:20:25 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2008-05-09 08:20:25 +0200 |
commit | 732fa805f03e6e89a2f2711aea3d83f9e8c66a65 (patch) | |
tree | 53420659e2c2b16fae3d7d3d38f210b6d2fb7098 | |
parent | 155da5f94f3764eb1af6c05c41f22640557a47ab (diff) | |
parent | 8fd8882818a020d8e5b39bb7ca31297ade34dd41 (diff) | |
download | pygments-732fa805f03e6e89a2f2711aea3d83f9e8c66a65.tar.gz |
Merge.
-rw-r--r-- | pygments/lexers/agile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/lexers/agile.py b/pygments/lexers/agile.py index b4860e18..30779ebd 100644 --- a/pygments/lexers/agile.py +++ b/pygments/lexers/agile.py @@ -354,8 +354,8 @@ class PythonTracebackLexer(RegexLexer): bygroups(Text, Name.Builtin, Text, Number, Text, Name.Identifier, Text)), (r'^( )(.+)(\n)', bygroups(Text, using(PythonLexer), Text)), - (r'^[ \t]*(...)(\n)', - bygroups(Comment, Text)), # for doctests... + (r'^([ \t]*)(...)(\n)', + bygroups(Text, Comment, Text)), # for doctests... (r'^(.+)(: )(.+)(\n)', bygroups(Name.Class, Text, Name.Identifier, Text), '#pop'), (r'^([a-zA-Z_][a-zA-Z0-9_]*)(:?\n)', |