Start using the correct parser for each environment
This commit is contained in:
1 parent
a9ebd92c20
commit
96a67f9a4c
5 files changed
+10
-11
No files matched your search
@@ -115,7 +115,7 @@ class Script(object):
|
||||
# Load the Python grammar of the current interpreter.
|
||||
self._grammar = parso.load_grammar()
|
||||
project = Project(sys_path=sys_path)
|
||||
self._evaluator = Evaluator(self._grammar, project, environment)
|
||||
self._evaluator = Evaluator(project, environment)
|
||||
project.add_script_path(self.path)
|
||||
debug.speed('init')
|
||||
|
||||
|
||||
Reference in new issue
Block a user