diff options
author | chebee7i <chebee7i@gmail.com> | 2013-11-13 16:40:53 -0600 |
---|---|---|
committer | chebee7i <chebee7i@gmail.com> | 2013-11-13 16:40:53 -0600 |
commit | a81c58dcdc05123174ec762191e2d2d95bffb84a (patch) | |
tree | 35b16ad320882673f2d3391d430069196b726eca /pygments/lexer.py | |
parent | b0ddc2eac6622304ecd1dc07eea130f358f0ac57 (diff) | |
download | pygments-a81c58dcdc05123174ec762191e2d2d95bffb84a.tar.gz |
Remove commented lines, as they are no longer necessary.
Diffstat (limited to 'pygments/lexer.py')
-rw-r--r-- | pygments/lexer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pygments/lexer.py b/pygments/lexer.py index 662c059e..5504fc1b 100644 --- a/pygments/lexer.py +++ b/pygments/lexer.py @@ -604,6 +604,8 @@ class RegexLexer(Lexer): statetokens = tokendefs[statestack[-1]] break else: + # We are here only if all state tokens have been considered + # and there was not a match on any of them. try: if text[pos] == '\n': # at EOL, reset state to "root" |