Commit 6b8b42f5 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Properties compile on test case

parent d9b270a7
...@@ -77,7 +77,7 @@ def parse_input_files(pr_files, ppty_file): ...@@ -77,7 +77,7 @@ def parse_input_files(pr_files, ppty_file):
process.procedures = [] process.procedures = []
process.transitions = [] process.transitions = []
process.composite_states = [] process.composite_states = []
process.mapping = {} process.mapping = {state:[] for state in process.mapping.keys()}
idx = 0 idx = 0
for each in stop_conditions: for each in stop_conditions:
proc = opengeode.ogAST.Procedure() proc = opengeode.ogAST.Procedure()
...@@ -101,7 +101,7 @@ def parse_input_files(pr_files, ppty_file): ...@@ -101,7 +101,7 @@ def parse_input_files(pr_files, ppty_file):
proc.content.start.transition.terminators = [decision] proc.content.start.transition.terminators = [decision]
process.content.inner_procedures.append(proc) process.content.inner_procedures.append(proc)
idx += 1 idx += 1
opengeode.AdaGenerator.generate(process) opengeode.AdaGenerator.generate(process, simu=True)
def cli(): def cli():
''' Application entry point, when used from the command line ''' ''' Application entry point, when used from the command line '''
......
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