diff options
author | Georg Brandl <georg@python.org> | 2015-02-21 22:32:58 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2015-02-21 22:32:58 +0100 |
commit | bf389fec621c2193392952d3839946b5ed2cee63 (patch) | |
tree | 94579f9eb7798dfd21bc2028adcc28ca6131353a /scripts | |
parent | 1789b30a2bd021cb564f4bc422cbc6379c90a3f2 (diff) | |
download | pygments-bf389fec621c2193392952d3839946b5ed2cee63.tar.gz |
fixup elisp lexer a bit
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/debug_lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/debug_lexer.py b/scripts/debug_lexer.py index 87646a24..4dac42ca 100755 --- a/scripts/debug_lexer.py +++ b/scripts/debug_lexer.py @@ -144,7 +144,7 @@ def main(fn, lexer=None, options={}): reprs = list(map(repr, tok)) print(' ' + reprs[1] + ' ' + ' ' * (29-len(reprs[1])) + reprs[0], end=' ') if debug_lexer: - print(' ' + ' ' * (29-len(reprs[0])) + ' : '.join(state), end=' ') + print(' ' + ' ' * (29-len(reprs[0])) + ' : '.join(state) if state else '', end=' ') print() for type, val in lx.get_tokens(text): |