Take multi-line expressions into account when rewriting expressions
authorKai Koehne <kai.koehne@nokia.com>
Wed, 30 Nov 2011 15:27:01 +0000 (16:27 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 16:30:45 +0000 (17:30 +0100)
commit32115087589939225a4516ed15196a4f6632c13b
treea39a358228e434aa3c342c194f39f65b1d3f285e
parent362dfc3fcb6336dca53ac1717ac7957a359a4905
Take multi-line expressions into account when rewriting expressions

Take into account the newlines expressions might have when
 combining multiple expressions into one.

Change-Id: Ib7170f624b6b6dee522e2d376a513ac08a8baa46
Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
src/declarative/qml/qdeclarativecompiler.cpp
tests/auto/declarative/qdeclarativeecmascript/data/scriptErrors.qml
tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp