From feb925cfe6941caad8f059c9fbbb2b1fc28a2aab Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Fri, 20 Nov 2009 14:21:23 +0100 Subject: Fixed the start location of an UiArrayBinding to include the qualifiedId. Reviewed by: Roberto Raggi. --- src/declarative/qml/parser/qmljsast_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/declarative/qml/parser/qmljsast_p.h b/src/declarative/qml/parser/qmljsast_p.h index b5f7264..388bc12 100644 --- a/src/declarative/qml/parser/qmljsast_p.h +++ b/src/declarative/qml/parser/qmljsast_p.h @@ -2653,7 +2653,7 @@ public: { kind = K; } virtual SourceLocation firstSourceLocation() const - { return lbracketToken; } + { return qualifiedId->identifierToken; } virtual SourceLocation lastSourceLocation() const { return rbracketToken; } -- cgit v0.12