mirror of https://github.com/m-labs/artiq.git
Fix compiler.module.
This commit is contained in:
parent
a7633f75c7
commit
acc97a74f0
|
@ -22,7 +22,7 @@ class Source:
|
||||||
self.name, _ = os.path.splitext(os.path.basename(source_buffer.name))
|
self.name, _ = os.path.splitext(os.path.basename(source_buffer.name))
|
||||||
|
|
||||||
asttyped_rewriter = transforms.ASTTypedRewriter(engine=engine,
|
asttyped_rewriter = transforms.ASTTypedRewriter(engine=engine,
|
||||||
globals=prelude.globals())
|
prelude=prelude.globals())
|
||||||
inferencer = transforms.Inferencer(engine=engine)
|
inferencer = transforms.Inferencer(engine=engine)
|
||||||
|
|
||||||
self.parsetree, self.comments = parse_buffer(source_buffer, engine=engine)
|
self.parsetree, self.comments = parse_buffer(source_buffer, engine=engine)
|
||||||
|
|
Loading…
Reference in New Issue