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

Create empty mapping for parallel states

parent 8484a06f
......@@ -1980,6 +1980,10 @@ def composite_state(root, parent=None, context=None):
# that all variables are propagated to the the inner scope
inner, err, warn = composite_state(each, parent=None,
if isinstance(comp, ogAST.StateAggregation):
# State aggregation contain only composite states, so we must
# add empty mapping information since there are no transitions
comp.mapping[inner.statename.lower()] = []
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