diff options
author | rlm <rlm@techsat.com> | 2020-04-27 11:21:33 (GMT) |
---|---|---|
committer | rlm <rlm@techsat.com> | 2020-04-27 11:21:33 (GMT) |
commit | 358bfca30fbb055c5c47e8479246327231d83dca (patch) | |
tree | 08c04ea09fd7cfa3e73791774a5a2116cc34d706 /src/uscxml | |
parent | 1e1c00d8170ecfc5d870f6ff159ac6a856f10fd6 (diff) | |
download | uscxml-358bfca30fbb055c5c47e8479246327231d83dca.zip uscxml-358bfca30fbb055c5c47e8479246327231d83dca.tar.gz uscxml-358bfca30fbb055c5c47e8479246327231d83dca.tar.bz2 |
:Jira: ADSVHTNG-1165 - fixed multiple done events for parent pallel state in C transformer
Change-Id: If574379d07a4a60ed4a2268017f9f30c4e7bd3c1
Diffstat (limited to 'src/uscxml')
-rwxr-xr-x | src/uscxml/transform/ChartToC.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/uscxml/transform/ChartToC.cpp b/src/uscxml/transform/ChartToC.cpp index 2216eed..a577127 100755 --- a/src/uscxml/transform/ChartToC.cpp +++ b/src/uscxml/transform/ChartToC.cpp @@ -2730,6 +2730,8 @@ 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 << " BIT_SET_AT(k, tmp_states);" << std::endl; stream << " }" << std::endl; stream << " }" << std::endl; stream << " if unlikely(!bit_has_any(tmp_states, nr_states_bytes)) {" << std::endl; |