1
0
forked from VimPlug/jedi

Issue with backslashes again in the fast parser.

This commit is contained in:
Dave Halter
2015-02-21 18:07:21 +01:00
parent 0b5a509e83
commit 3ec96b25cc
4 changed files with 27 additions and 9 deletions

View File

@@ -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