From 1a831356eee562451c8ce85654ec3b650658e7f9 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Thu, 29 Jan 2015 03:26:53 +0100 Subject: 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). --- src/plugins/xml/XmlParser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/xml') 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, Logger &logger) mutable { attribute->setType(type, logger); }, - location()); + attribute); } void end() override {} @@ -248,7 +248,7 @@ public: [constant](Handle type, Logger &logger) mutable { constant->setType(type, logger); }, - location()); + constant); } void end() override {} -- cgit v1.2.3