summaryrefslogtreecommitdiff
path: root/src/plugins/xml
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-29 03:26:53 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-29 03:26:53 +0100
commit1a831356eee562451c8ce85654ec3b650658e7f9 (patch)
tree6c58fa339fc1043d9f19c434fd07da4e1227f942 /src/plugins/xml
parentcf493215beb33c427a0687d56b1e18d8e6f85586 (diff)
ParserScope now stores the nodes for which the resolution was triggered and first executes those resolutions that depend on not currently resolving nodes (this behaviour is needed for the resolution of constants).
Diffstat (limited to 'src/plugins/xml')
-rw-r--r--src/plugins/xml/XmlParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/xml/XmlParser.cpp b/src/plugins/xml/XmlParser.cpp
index f254326..6e0fea0 100644
--- a/src/plugins/xml/XmlParser.cpp
+++ b/src/plugins/xml/XmlParser.cpp
@@ -173,7 +173,7 @@ public:
structType->setParentStructure(
parent, logger);
},
- location());
+ structType);
}
// Descend into the struct type
@@ -216,7 +216,7 @@ public:
[attribute](Handle<Type> type, Logger &logger) mutable {
attribute->setType(type, logger);
},
- location());
+ attribute);
}
void end() override {}
@@ -248,7 +248,7 @@ public:
[constant](Handle<Type> type, Logger &logger) mutable {
constant->setType(type, logger);
},
- location());
+ constant);
}
void end() override {}