Commit d9b270a7 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Add code of properties as return statement

parent 976b5af3
...@@ -96,6 +96,7 @@ def parse_input_files(pr_files, ppty_file): ...@@ -96,6 +96,7 @@ def parse_input_files(pr_files, ppty_file):
decision = opengeode.ogAST.Terminator() decision = opengeode.ogAST.Terminator()
decision.kind = 'return' decision.kind = 'return'
decision.return_expr = each decision.return_expr = each
proc.content.start.transition.terminator = decision
proc.content.start.terminators = [decision] proc.content.start.terminators = [decision]
proc.content.start.transition.terminators = [decision] proc.content.start.transition.terminators = [decision]
process.content.inner_procedures.append(proc) process.content.inner_procedures.append(proc)
......
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