Commit c31f7539 authored by Alfons Laarman's avatar Alfons Laarman
Browse files

Allow procs to end on a label

parent 5aadce7d
......@@ -1127,7 +1127,7 @@ State sequence(State start, State breakNode, boolean inAtomic): {
labels.put(label, start);
start.addLabel(label);
}
end=sequence(end, breakNode, inAtomic)
(end=sequence(end, breakNode, inAtomic))?
| LOOKAHEAD(channel_statement())
end=channel_statement(start, breakNode, inAtomic)
(delim() (end=sequence(end, breakNode, inAtomic))?)?
......
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