summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlscriptparser.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 23:05:45 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 23:05:45 (GMT)
commit38c3d2d086d0e7fa07daf0d172d27747d6f95519 (patch)
tree24b0e1d7831476bf8f18858c8964e1bb1e697509 /src/declarative/qml/qmlscriptparser.cpp
parent5e690831db11d5d84dc98589da01bf953f4fe06e (diff)
parent70cd26cfaf24455ceea6cb698a88be694728030c (diff)
downloadQt-38c3d2d086d0e7fa07daf0d172d27747d6f95519.zip
Qt-38c3d2d086d0e7fa07daf0d172d27747d6f95519.tar.gz
Qt-38c3d2d086d0e7fa07daf0d172d27747d6f95519.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlscriptparser.cpp')
-rw-r--r--src/declarative/qml/qmlscriptparser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlscriptparser.cpp b/src/declarative/qml/qmlscriptparser.cpp
index 082d0a5..ae4e903 100644
--- a/src/declarative/qml/qmlscriptparser.cpp
+++ b/src/declarative/qml/qmlscriptparser.cpp
@@ -346,6 +346,8 @@ LocationSpan ProcessAST::location(AST::SourceLocation start, AST::SourceLocation
rv.start.column = start.startColumn;
rv.end.line = end.startLine;
rv.end.column = end.startColumn + end.length - 1;
+ rv.range.offset = start.offset;
+ rv.range.length = end.offset + end.length - start.offset;
return rv;
}