Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
properties
Commits
6b8b42f5
Commit
6b8b42f5
authored
Mar 17, 2015
by
Maxime Perrotin
Browse files
Properties compile on test case
parent
d9b270a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
properties/properties.py
View file @
6b8b42f5
...
...
@@ -77,7 +77,7 @@ def parse_input_files(pr_files, ppty_file):
process
.
procedures
=
[]
process
.
transitions
=
[]
process
.
composite_states
=
[]
process
.
mapping
=
{}
process
.
mapping
=
{
state
:[]
for
state
in
process
.
mapping
.
keys
()
}
idx
=
0
for
each
in
stop_conditions
:
proc
=
opengeode
.
ogAST
.
Procedure
()
...
...
@@ -101,7 +101,7 @@ def parse_input_files(pr_files, ppty_file):
proc
.
content
.
start
.
transition
.
terminators
=
[
decision
]
process
.
content
.
inner_procedures
.
append
(
proc
)
idx
+=
1
opengeode
.
AdaGenerator
.
generate
(
process
)
opengeode
.
AdaGenerator
.
generate
(
process
,
simu
=
True
)
def
cli
():
''' Application entry point, when used from the command line '''
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment