diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 00:21:47 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 00:21:47 (GMT) |
commit | ac19c9a30a47bfe8b374d390525b06ebdb26b4ca (patch) | |
tree | 2649083be267421892b58c4697e6d2fa3f206134 /src/declarative/qml/qmlscriptparser.cpp | |
parent | de9825bf51ccb79f645c9ceeded3230c9be14175 (diff) | |
download | Qt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.zip Qt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.tar.gz Qt-ac19c9a30a47bfe8b374d390525b06ebdb26b4ca.tar.bz2 |
Compile
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r-- | src/declarative/qml/qmlscriptparser.cpp | 4 |
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); |