summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 00:21:47 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 00:21:47 (GMT)
commitac19c9a30a47bfe8b374d390525b06ebdb26b4ca (patch)
tree2649083be267421892b58c4697e6d2fa3f206134 /src
parentde9825bf51ccb79f645c9ceeded3230c9be14175 (diff)
downloadQt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.zip
Qt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.tar.gz
Qt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.tar.bz2
Compile
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index 0092ec2..169e2ea 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -226,9 +226,9 @@ ProcessAST::defineObjectBinding_helper(int line,
return 0;
}
- SourceLocation loc = typeLocation;
+ LocationSpan loc = ProcessAST::location(typeLocation, typeLocation);
if (propertyName)
- loc = location(propertyName);
+ loc = ProcessAST::location(propertyName);
_stateStack.pushProperty(objectType, loc);
accept(initializer);