diff options
Diffstat (limited to 'typesystem.cpp')
-rw-r--r-- | typesystem.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/typesystem.cpp b/typesystem.cpp index 3e8b2dc49..70f5dc9bd 100644 --- a/typesystem.cpp +++ b/typesystem.cpp @@ -840,6 +840,7 @@ bool Handler::startElement(const QString &, const QString &n, break; case StackElement::ReferenceCount: attributes["action"] = QString(); + attributes["variable-name"] = QString(); break; case StackElement::ParentOwner: attributes["index"] = QString(); @@ -1350,6 +1351,7 @@ bool Handler::startElement(const QString &, const QString &n, actions["ignore"] = ReferenceCount::Ignore; } rc.action = actions.value(attributes["action"].toLower(), ReferenceCount::Invalid); + rc.varName = attributes["variable-name"]; if (rc.action == ReferenceCount::Invalid) { m_error = "unrecognized value for action attribute. supported actions:"; |