aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom/qqmldomastcreator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmldom/qqmldomastcreator.cpp')
-rw-r--r--src/qmldom/qqmldomastcreator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qmldom/qqmldomastcreator.cpp b/src/qmldom/qqmldomastcreator.cpp
index 54b72e4d1f..06f380b63f 100644
--- a/src/qmldom/qqmldomastcreator.cpp
+++ b/src/qmldom/qqmldomastcreator.cpp
@@ -1111,6 +1111,7 @@ bool QQmlDomAstCreator::visit(AST::UiInlineComponent *el)
Path p = qmlFilePtr->addComponent(QmlComponent(cName), AddOption::KeepExisting, &compPtr);
pushEl(p, *compPtr, el);
FileLocations::addRegion(nodeStack.last().fileLocations, u"component", el->componentToken);
+ FileLocations::addRegion(nodeStack.last().fileLocations, u"identifier", el->identifierToken);
loadAnnotations(el);
return true;
}