summaryrefslogtreecommitdiffstats
path: root/src/uscxml/interpreter/InterpreterDraft6.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-05-14 16:51:56 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2014-05-14 16:51:56 (GMT)
commit49127140ed2ad91bfcf532b3d2265582cb80b0db (patch)
treeb31c1537973792f4ac9216de82c0f041e9e8aeae /src/uscxml/interpreter/InterpreterDraft6.cpp
parent6920a312918f989cd2970277a853fbed52cf0c38 (diff)
downloaduscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.zip
uscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.tar.gz
uscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.tar.bz2
Retain interpreter instance for DataModels in Java (Rhino)
Diffstat (limited to 'src/uscxml/interpreter/InterpreterDraft6.cpp')
-rw-r--r--src/uscxml/interpreter/InterpreterDraft6.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/uscxml/interpreter/InterpreterDraft6.cpp b/src/uscxml/interpreter/InterpreterDraft6.cpp
index 31c433c..f80ad24 100644
--- a/src/uscxml/interpreter/InterpreterDraft6.cpp
+++ b/src/uscxml/interpreter/InterpreterDraft6.cpp
@@ -23,6 +23,8 @@
#include "uscxml/UUID.h"
#include "uscxml/DOMUtils.h"
+#define VERBOSE 0
+
namespace uscxml {
using namespace Arabica::XPath;
@@ -185,7 +187,7 @@ void InterpreterDraft6::mainEventLoop() {
// Here we handle eventless transitions and transitions
// triggered by internal events until machine is stable
while(_running && !_stable) {
-#if 0
+#if VERBOSE
std::cout << "Configuration: ";
for (int i = 0; i < _configuration.size(); i++) {
std::cout << ATTR(_configuration[i], "id") << ", ";