diff options
Diffstat (limited to 'scripts/debug_lexer.py')
-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): |