Port r1132819 from trunk.
SCXML-161 Transition leaving a child state of parallel incorrect. Fix by accounting for non-composite regions.
Test case provided by Enrico Nardelli <nardelli at mat dot uniroma2 dot it>.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/scxml/branches/J6@1132823 13f79535-47bb-0310-9956-ffa450edef68
3 files changed