diff options
author | rlm <rlm@techsat.com> | 2020-07-02 14:20:50 (GMT) |
---|---|---|
committer | rlm <rlm@techsat.com> | 2020-07-02 14:20:50 (GMT) |
commit | 0c1353512bfb101483812f310297f1fdc0088354 (patch) | |
tree | 2b0901aa174962a29de217a50ad1342acaefe5c4 | |
parent | fbf5005a9f4d821ee04dff7c0866f795382c7c35 (diff) | |
download | uscxml-0c1353512bfb101483812f310297f1fdc0088354.zip uscxml-0c1353512bfb101483812f310297f1fdc0088354.tar.gz uscxml-0c1353512bfb101483812f310297f1fdc0088354.tar.bz2 |
:Jira: ADSVHTNG-1165 - bug in done event for parallel state with state and final children
Change-Id: Id17d6149359935e3c21d62d76e8714004b32e4f7
-rwxr-xr-x | src/uscxml/transform/ChartToC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp index 98e20de..a254f09 100755 --- a/src/uscxml/transform/ChartToC.cpp +++ b/src/uscxml/transform/ChartToC.cpp @@ -2785,7 +2785,7 @@ void ChartToC::writeFSM(std::ostream& stream) { stream << " } else {" << std::endl; stream << " BIT_SET_AT(k, tmp_states);" << std::endl; stream << " }" << std::endl; - stream << " } else if unlikely(BIT_HAS(j, ctx->machine->states[k].ancestors)) {" << std::endl; + stream << " } else if unlikely(BIT_HAS(j, ctx->machine->states[k].ancestors) && BIT_HAS(k, entry_set)) {" << std::endl; stream << " BIT_SET_AT(k, tmp_states);" << std::endl; stream << " }" << std::endl; stream << " }" << std::endl; |