summaryrefslogtreecommitdiffstats
path: root/src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-07-19 14:41:34 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-07-19 14:41:34 (GMT)
commitaa341b878e6d4a2be8890ca5f890e46b87cf2d7d (patch)
treef35363f7ca5be90f5a4ca1d93210e96698f89d59 /src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp
parent9db80409b3ca048c4b404a43d2c224f374c0090a (diff)
downloaduscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.zip
uscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.tar.gz
uscxml-aa341b878e6d4a2be8890ca5f890e46b87cf2d7d.tar.bz2
Beautified code
Diffstat (limited to 'src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp')
-rw-r--r--src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp b/src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp
index 9f4f22f..c12491b 100644
--- a/src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp
+++ b/src/uscxml/plugins/datamodel/promela/PromelaDataModel.cpp
@@ -707,8 +707,8 @@ void PromelaDataModel::setEvent(const Event& event) {
void PromelaDataModel::assign(const std::string& location, const Data& data, const std::map<std::string, std::string>& attr) {
PromelaParser parser(location);
if (data.atom.size() > 0 && data.type == Data::INTERPRETED) {
- // e.g. Var1 = Var1 + 1
- setVariable(parser.ast, evalAsData(data.atom));
+ // e.g. Var1 = Var1 + 1
+ setVariable(parser.ast, evalAsData(data.atom));
} else {
setVariable(parser.ast, data);
}