From ac19c9a30a47bfe8b374d390525b06ebdb26b4ca Mon Sep 17 00:00:00 2001 From: Aaron Kennedy Date: Mon, 11 May 2009 10:21:47 +1000 Subject: Compile --- src/declarative/qml/qmlscriptparser.cpp | 4 ++-- 1 file 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); -- cgit v0.12