summaryrefslogtreecommitdiff
path: root/scripts/debug_lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/debug_lexer.py')
-rwxr-xr-xscripts/debug_lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/debug_lexer.py b/scripts/debug_lexer.py
index d00b6102..0f1dc0bd 100755
--- a/scripts/debug_lexer.py
+++ b/scripts/debug_lexer.py
@@ -86,7 +86,7 @@ class DebuggingRegexLexer(ExtendedRegexLexer):
# at EOL, reset state to 'root'
ctx.stack = ['root']
statetokens = tokendefs['root']
- yield ctx.pos, Text, u'\n'
+ yield ctx.pos, Text, '\n'
ctx.pos += 1
continue
yield ctx.pos, Error, text[ctx.pos]