summaryrefslogtreecommitdiffstats
path: root/src/uscxml/transform/ChartToC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/transform/ChartToC.cpp')
-rwxr-xr-xsrc/uscxml/transform/ChartToC.cpp2
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;