summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 9d9115f..16fb503 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -1122,7 +1122,7 @@ void InterpreterImpl::executeContent(const Arabica::DOM::Node<std::string>& cont
try {
- _dataModel.eval(srcContent.str());
+ _dataModel.eval((Element<std::string>)content, srcContent.str());
}
CATCH_AND_DISTRIBUTE("Syntax error while executing script element from '" << ATTR(content, "src") << "':")
} else {
@@ -1130,7 +1130,7 @@ void InterpreterImpl::executeContent(const Arabica::DOM::Node<std::string>& cont
// search for the text node with the actual script
if (content.getFirstChild().getNodeType() == Node_base::TEXT_NODE) {
try {
- _dataModel.eval(content.getFirstChild().getNodeValue());
+ _dataModel.eval((Element<std::string>)content, content.getFirstChild().getNodeValue());
}
CATCH_AND_DISTRIBUTE("Syntax error while executing script element")
}