Commit 307bb76c authored by dbarbera's avatar dbarbera
Browse files

Fix run transition function generation

parent a82853c9
......@@ -420,7 +420,7 @@ def generate_runtr_func(process):
# body
ctx.builder.position_at_end(body_block)
switch = ctx.builder.switch(func.args[0], exit_block)
switch = ctx.builder.switch(id_val, exit_block)
# transitions
for idx, tr in enumerate(process.transitions):
......
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