diff options
author | alexzhornyak <alexander.zhornyak@gmail.com> | 2017-05-13 22:19:47 (GMT) |
---|---|---|
committer | alexzhornyak <alexander.zhornyak@gmail.com> | 2017-05-13 22:19:47 (GMT) |
commit | 3b94ebf0420f4845054e8b1ae447f894e2c2325f (patch) | |
tree | 8b4c52f8fa421908285b0c6b2245a356a5f616cf /src/uscxml/interpreter | |
parent | b3c8edc7788fc6bcdd941ecdee5435957bc08366 (diff) | |
download | uscxml-3b94ebf0420f4845054e8b1ae447f894e2c2325f.zip uscxml-3b94ebf0420f4845054e8b1ae447f894e2c2325f.tar.gz uscxml-3b94ebf0420f4845054e8b1ae447f894e2c2325f.tar.bz2 |
Final corrections for eval function
Diffstat (limited to 'src/uscxml/interpreter')
-rw-r--r-- | src/uscxml/interpreter/BasicContentExecutor.cpp | 2 | ||||
-rw-r--r-- | src/uscxml/interpreter/ContentExecutorImpl.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/interpreter/BasicContentExecutor.cpp b/src/uscxml/interpreter/BasicContentExecutor.cpp index 932d579..61277bd 100644 --- a/src/uscxml/interpreter/BasicContentExecutor.cpp +++ b/src/uscxml/interpreter/BasicContentExecutor.cpp @@ -291,7 +291,7 @@ void BasicContentExecutor::processLog(XERCESC_NS::DOMElement* content) { void BasicContentExecutor::processScript(XERCESC_NS::DOMElement* content) { // download as necessary std::string scriptContent(X(content->getTextContent())); - _callbacks->evalAsData(scriptContent); + _callbacks->eval(scriptContent); } diff --git a/src/uscxml/interpreter/ContentExecutorImpl.h b/src/uscxml/interpreter/ContentExecutorImpl.h index fd6be89..82acc1c 100644 --- a/src/uscxml/interpreter/ContentExecutorImpl.h +++ b/src/uscxml/interpreter/ContentExecutorImpl.h @@ -59,7 +59,7 @@ public: uint32_t iteration) = 0; virtual Data evalAsData(const std::string& expr) = 0; - virtual void eval(const std::string& content) { evalAsData(expr); } + virtual void eval(const std::string& expr) { evalAsData(expr); } virtual Data getAsData(const std::string& expr) = 0; virtual void assign(const std::string& location, const Data& data, const std::map<std::string, std::string>& attrs) = 0; |