2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 19:28:26 +08:00

Fix compiler.module.

This commit is contained in:
whitequark 2015-08-07 14:21:53 +03:00
parent a7633f75c7
commit acc97a74f0

View File

@ -22,7 +22,7 @@ class Source:
self.name, _ = os.path.splitext(os.path.basename(source_buffer.name))
asttyped_rewriter = transforms.ASTTypedRewriter(engine=engine,
globals=prelude.globals())
prelude=prelude.globals())
inferencer = transforms.Inferencer(engine=engine)
self.parsetree, self.comments = parse_buffer(source_buffer, engine=engine)