Commit 82af1903 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Remove comments

parent 85b91ad0
......@@ -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
......
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