summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-11-20 13:21:23 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-11-20 13:22:45 (GMT)
commitfeb925cfe6941caad8f059c9fbbb2b1fc28a2aab (patch)
treec99c01c6545d4a0e3b8e235b920296259c2a5951 /src/declarative/qml/parser
parentc80effb4d3612b68b2d48e3ec6245e2360c83228 (diff)
downloadQt-feb925cfe6941caad8f059c9fbbb2b1fc28a2aab.zip
Qt-feb925cfe6941caad8f059c9fbbb2b1fc28a2aab.tar.gz
Qt-feb925cfe6941caad8f059c9fbbb2b1fc28a2aab.tar.bz2
Fixed the start location of an UiArrayBinding to include the qualifiedId.
Reviewed by: Roberto Raggi.
Diffstat (limited to 'src/declarative/qml/parser')
-rw-r--r--src/declarative/qml/parser/qmljsast_p.h2
1 files changed, 1 insertions, 1 deletions
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; }