diff options
Diffstat (limited to 'src/uscxml/transform')
-rw-r--r-- | src/uscxml/transform/ChartToFSM.cpp | 5 | ||||
-rw-r--r-- | src/uscxml/transform/ChartToFSM.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/uscxml/transform/ChartToFSM.cpp b/src/uscxml/transform/ChartToFSM.cpp index 49519dc..581ba85 100644 --- a/src/uscxml/transform/ChartToFSM.cpp +++ b/src/uscxml/transform/ChartToFSM.cpp @@ -26,7 +26,7 @@ #include <math.h> #include <string.h> #include <algorithm> -#undef max
+#undef max #include <limits> namespace uscxml { @@ -101,7 +101,7 @@ Document<std::string> FlatteningInterpreter::getDocument() const { return _flatDoc; } -void FlatteningInterpreter::interpret() { +InterpreterState FlatteningInterpreter::interpret() { init(); setupIOProcessors(); @@ -177,6 +177,7 @@ void FlatteningInterpreter::interpret() { #endif createDocument(); + return _state; } void FlatteningInterpreter::executeContent(const Arabica::DOM::Node<std::string>& content, bool rethrow) { diff --git a/src/uscxml/transform/ChartToFSM.h b/src/uscxml/transform/ChartToFSM.h index ef80a6a..07531e2 100644 --- a/src/uscxml/transform/ChartToFSM.h +++ b/src/uscxml/transform/ChartToFSM.h @@ -105,7 +105,7 @@ public: virtual ~FlatteningInterpreter(); Arabica::DOM::Document<std::string> getDocument() const; // overwrite to return flat FSM - void interpret(); + InterpreterState interpret(); protected: // gather executable content per microstep |