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 | 062177e4f4e2c508ef04e593dd2753f585cfcd17 (patch) | |
| tree | 0a008889b5a078298ce7d01b91c291e07098fb57 /pygments/formatters | |
| parent | 656cd108202d9d430650200f6bc6e1c000dd59fa (diff) | |
| download | pygments-git-062177e4f4e2c508ef04e593dd2753f585cfcd17.tar.gz | |
Fix (false positive) pyflakes warning.
Diffstat (limited to 'pygments/formatters')
| -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: |
