diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 23:05:45 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-11 23:05:45 (GMT) |
commit | 38c3d2d086d0e7fa07daf0d172d27747d6f95519 (patch) | |
tree | 24b0e1d7831476bf8f18858c8964e1bb1e697509 /src/declarative/qml/qmlscriptparser.cpp | |
parent | 5e690831db11d5d84dc98589da01bf953f4fe06e (diff) | |
parent | 70cd26cfaf24455ceea6cb698a88be694728030c (diff) | |
download | Qt-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.cpp | 2 |
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; } |