Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
82af1903
Commit
82af1903
authored
Oct 17, 2016
by
Maxime Perrotin
Browse files
Remove comments
parent
85b91ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/ogParser.py
View file @
82af1903
...
...
@@ -2137,15 +2137,6 @@ def composite_state(root, parent=None, context=None):
'of substate "{}"'
.
format
(
comp
.
statename
,
ns
.
upper
()),
[
0
,
0
],
[]])
# # Raise an error is there is no NEXTSTATE at all
# for each in comp.terminators:
# if each.kind == 'next_state':
# break
# else:
# if not isinstance(comp, ogAST.StateAggregation):
# errors.append(['In composite state "{}"'
# ': incomplete startup transition'
# .format(comp.statename), [0, 0], []])
for
each
in
chain
(
errors
,
warnings
):
each
[
2
].
insert
(
0
,
'STATE {}'
.
format
(
comp
.
statename
))
return
comp
,
errors
,
warnings
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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