1
0
forked from VimPlug/jedi

Remove start_parsing completely from the Parsers.

This commit is contained in:
Dave Halter
2017-03-26 12:52:37 +02:00
parent 63cafeaa87
commit b60ec024fa
5 changed files with 9 additions and 18 deletions

View File

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