diff options
author | Georg Brandl <georg@python.org> | 2014-10-07 14:53:25 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-07 14:53:25 +0200 |
commit | 04a8a0ce203ed66b70415dca03bf74bc983ef822 (patch) | |
tree | 0a008889b5a078298ce7d01b91c291e07098fb57 /pygments/formatters/latex.py | |
parent | fe64859951b81651074fd8f3122a599f4dde78f4 (diff) | |
download | pygments-04a8a0ce203ed66b70415dca03bf74bc983ef822.tar.gz |
Fix (false positive) pyflakes warning.
Diffstat (limited to 'pygments/formatters/latex.py')
-rw-r--r-- | pygments/formatters/latex.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py index 352684b0..dae9325a 100644 --- a/pygments/formatters/latex.py +++ b/pygments/formatters/latex.py @@ -436,6 +436,7 @@ class LatexEmbeddedLexer(Lexer): def get_tokens_unprocessed(self, text): buf = '' + idx = 0 for i, t, v in self.lang.get_tokens_unprocessed(text): if t in Token.Comment or t in Token.String: if buf: |