summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmltabledata.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2016-08-18 17:14:03 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2016-08-19 07:12:25 +0000
commita0f8c4e865e6171c832b6590dc1dc4a09ae03848 (patch)
treee6874feadb294b74eb8d752a23419c5d812ee05e /src/scxml/qscxmltabledata.cpp
parent0933e6d71310178667cce1a60ac65c23a956eb34 (diff)
Support <content expr="...">
Previously, the expressions were never evaluated, but just taken as strings. Change-Id: Id506670cd0e954919941b5cf7c496b7c57f04711 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/scxml/qscxmltabledata.cpp')
-rw-r--r--src/scxml/qscxmltabledata.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scxml/qscxmltabledata.cpp b/src/scxml/qscxmltabledata.cpp
index d92d64c..8bcf086 100644
--- a/src/scxml/qscxmltabledata.cpp
+++ b/src/scxml/qscxmltabledata.cpp
@@ -411,6 +411,9 @@ protected: // visitor
QStringLiteral("delayexpr"),
node->delayexpr);
instr->content = addString(node->content);
+ instr->contentexpr = createEvaluatorString(QStringLiteral("send"),
+ QStringLiteral("contentexpr"),
+ node->contentexpr);
generate(&instr->namelist, node->namelist);
generate(instr->params(), node->params);
return false;