Adjust the source location of the last accepted token.
authorRoberto Raggi <roberto.raggi@nokia.com>
Mon, 5 Dec 2011 13:42:09 +0000 (14:42 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Dec 2011 14:35:36 +0000 (15:35 +0100)
commit4bc66eb9389974ca1dda2595414175e69af418bc
tree8ab6d89b9291fee83ffe122656fefd4c2cf1516a
parent97cbef99cbd35b22a17bf29ed406b20d4d35680c
Adjust the source location of the last accepted token.

This is necessary to get automatic semicolons inserted at the correct
location.

Change-Id: Ie3f806ed20704310cd6155f2dac6d0388a4a9f78
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/parser/qdeclarativejs.g
src/declarative/qml/parser/qdeclarativejsparser.cpp