diff options
-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); |