diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-05-14 16:51:56 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-05-14 16:51:56 (GMT) |
commit | 49127140ed2ad91bfcf532b3d2265582cb80b0db (patch) | |
tree | b31c1537973792f4ac9216de82c0f041e9e8aeae /src/uscxml/plugins/datamodel | |
parent | 6920a312918f989cd2970277a853fbed52cf0c38 (diff) | |
download | uscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.zip uscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.tar.gz uscxml-49127140ed2ad91bfcf532b3d2265582cb80b0db.tar.bz2 |
Retain interpreter instance for DataModels in Java (Rhino)
Diffstat (limited to 'src/uscxml/plugins/datamodel')
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp index 385ee1c..bddea83 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp +++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8DataModel.cpp @@ -712,7 +712,7 @@ void V8DataModel::throwExceptionEvent(const v8::TryCatch& tryCatch) { std::string sourceLine(*v8::String::AsciiValue(message->GetSourceLine())); size_t startpos = sourceLine.find_first_not_of(" \t"); - if(std::string::npos != startpos) // removoe leading white space + if(std::string::npos != startpos) // remove leading white space sourceLine = sourceLine.substr(startpos); exceptionEvent.data.compound["sourceline"] = Data(sourceLine, Data::VERBATIM); |