diff options
author | gbrandl <devnull@localhost> | 2009-02-14 14:19:48 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2009-02-14 14:19:48 +0100 |
commit | cd428a682b1270a2bf327d1522d14081571e5412 (patch) | |
tree | 0e29351760f7d59b372cbb4b7e308aae36f92a54 /pygments/lexer.py | |
parent | a63ad537982d9b92c112f9be5d380abb0341e545 (diff) | |
download | pygments-cd428a682b1270a2bf327d1522d14081571e5412.tar.gz |
#392: Fix fatal backtracking in Scala lexer.
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r-- | pygments/lexer.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py index 0e6f06bb..053df0fd 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -477,7 +477,6 @@ class RegexLexer(Lexer): for rexmatch, action, new_state in statetokens: m = rexmatch(text, pos) if m: - # print rex.pattern if type(action) is _TokenType: yield pos, action, m.group() else: |