summaryrefslogtreecommitdiffstats
path: root/src/uscxml/transform/ChartToFSM.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-23 23:38:20 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-06-23 23:38:20 (GMT)
commitfebde41c4c69d8f38967d5c195328d468834d037 (patch)
tree4580a433d410e91a6f8df9203c20693e7a21128d /src/uscxml/transform/ChartToFSM.cpp
parenteb6e9807cdb43b408de45ae789916cdf3bebe6f0 (diff)
downloaduscxml-febde41c4c69d8f38967d5c195328d468834d037.zip
uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.gz
uscxml-febde41c4c69d8f38967d5c195328d468834d037.tar.bz2
Updated tests for IRP and work on bindings
Diffstat (limited to 'src/uscxml/transform/ChartToFSM.cpp')
-rw-r--r--src/uscxml/transform/ChartToFSM.cpp5
1 files changed, 3 insertions, 2 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) {