Commit e209e435 authored by Guido van Rossum's avatar Guido van Rossum

Pass macros to DummyEngine() constructor in interpretit().

parent 2b768f74
......@@ -176,7 +176,7 @@ def interpretit(it, engine=None, stream=None):
from TALInterpreter import TALInterpreter
program, macros = it
if engine is None:
engine = DummyEngine()
engine = DummyEngine(macros)
TALInterpreter(program, macros, engine, stream)()
if __name__ == "__main__":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment