forked from VimPlug/jedi
Most of the new diff parsers functionality should be working now. There are a few TODOs to solve, though.
This commit is contained in:
@@ -149,7 +149,7 @@ def get_stack_at_position(grammar, code_lines, module, pos):
|
||||
try:
|
||||
p.parse(tokenizer=tokenize_without_endmarker(code))
|
||||
except EndMarkerReached:
|
||||
return Stack(p.stack)
|
||||
return Stack(p.pgen_parser.stack)
|
||||
raise SystemError("This really shouldn't happen. There's a bug in Jedi.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user