Remove start_parsing completely from the Parsers.
This commit is contained in:
1 parent
63cafeaa87
commit
b60ec024fa
5 files changed
+9
-18
No files matched your search
+1
-1
@@ -132,7 +132,7 @@ def get_stack_at_position(grammar, code_lines, module_node, pos):
|
||||
safeword = 'ZZZ_USER_WANTS_TO_COMPLETE_HERE_WITH_JEDI'
|
||||
code = code + safeword
|
||||
|
||||
p = parser.ParserWithRecovery(grammar, code, start_parsing=False)
|
||||
p = parser.ParserWithRecovery(grammar, code)
|
||||
try:
|
||||
p.parse(tokens=tokenize_without_endmarker(code))
|
||||
except EndMarkerReached:
|
||||
|
||||
Reference in new issue
Block a user