diff options
author | blackbird <devnull@localhost> | 2007-03-28 22:08:03 +0200 |
---|---|---|
committer | blackbird <devnull@localhost> | 2007-03-28 22:08:03 +0200 |
commit | 732839419f6a3772c40bfed74dcf05f18d95306f (patch) | |
tree | 8160c67f41ac44b0dfbbfb28c966f7d56a1502c3 /pygments/lexer.py | |
parent | da36a7ad31253086a004fb3c493f1c1c69a9837d (diff) | |
download | pygments-732839419f6a3772c40bfed74dcf05f18d95306f.tar.gz |
[svn] fixed debugging annoyance in pygments and added support for a "-" after a tag/variable in thy jinja/django highlighter
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r-- | pygments/lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py index ab7fdf2f..2bf1d2c6 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -371,7 +371,7 @@ class RegexLexerMeta(LexerMeta): (tdef[0], state, cls, err)) assert type(tdef[1]) is _TokenType or callable(tdef[1]), \ - 'token type must be simple type or callable, not %r' % tdef[1] + 'token type must be simple type or callable, not %r' % (tdef[1],) if len(tdef) == 2: new_state = None |