Most of the new diff parsers functionality should be working now. There are a few TODOs to solve, though.
This commit is contained in:
1 parent
b9040870c0
commit
54297cc4a5
2 files changed
+144
-37
No files matched your search
+1
-1
@@ -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