Issue with backslashes again in the fast parser.
This commit is contained in:
1 parent
0b5a509e83
commit
3ec96b25cc
4 files changed
+27
-9
No files matched your search
@@ -121,7 +121,7 @@ class PgenParser(object):
|
||||
ilabel = self.classify(type, value, start_pos)
|
||||
except ParseError:
|
||||
# Currently we ignore tokens like `?`.
|
||||
print('invalid token', tokenize.tok_name[type], value)
|
||||
print('invalid token', tokenize.tok_name[type], repr(value))
|
||||
return
|
||||
|
||||
# Loop until the token is shifted; may raise exceptions
|
||||
|
||||
Reference in new issue
Block a user