Commit 178d0a4f authored by dbarbera's avatar dbarbera
Browse files

Generate correct write/writeln function

parent 664beb99
......@@ -244,9 +244,12 @@ def _call_external_function(output):
for out in output.output:
name = out['outputName'].lower()
if name in ('write', 'writeln'):
if name == 'write':
_generate_write(out['params'])
continue
elif name == 'writeln':
_generate_writeln(out['params'])
continue
elif name == 'reset_timer':
_generate_reset_timer(out['params'])
continue
......
Supports Markdown
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