mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-03 20:23:46 +08:00
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
@@ -45,7 +45,7 @@ class Differ(object):
|
||||
def initialize(self, code):
|
||||
debug.dbg('differ: initialize', color='YELLOW')
|
||||
grammar = load_grammar()
|
||||
self.parser = ParserWithRecovery(grammar, code, start_parsing=False)
|
||||
self.parser = ParserWithRecovery(grammar, code)
|
||||
tokens = source_tokens(self.parser.new_code, use_exact_op_types=True)
|
||||
return self.parser.parse(tokens)
|
||||
|
||||
|
||||
Reference in new issue
Block a user