forked from VimPlug/jedi
Fix a few issues caused by the refactoring.
This commit is contained in:
@@ -121,7 +121,8 @@ class PgenParser(object):
|
||||
break
|
||||
else:
|
||||
# We never broke out -- EOF is too soon -- Unfinished statement.
|
||||
self.error_recovery(self.grammar, self.stack, type_, value,
|
||||
# TODO the arcs argument [] is not correctly defined.
|
||||
self.error_recovery(self.grammar, self.stack, [], type_, value,
|
||||
start_pos, prefix, self.addtoken)
|
||||
# Add the ENDMARKER again.
|
||||
if not self.addtoken(type_, value, prefix, start_pos):
|
||||
|
||||
Reference in New Issue
Block a user