Fix visit of list-like AST nodes.
authorRoberto Raggi <roberto.raggi@nokia.com>
Mon, 1 Aug 2011 16:04:30 +0000 (18:04 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 30 Aug 2011 11:18:28 +0000 (13:18 +0200)
commitf5d53893b8bc8015636e107d414d2e09ee04c577
tree68515276aae4c3a34f0b6a7eafd800dd5314d34c
parentf0080a389b0742f64106863e585bb71defed897d
Fix visit of list-like AST nodes.

The method finish() of a list-like node will convert the circular
list to a single-list. The right way to iterate is by looking
at the member `next' and by invokign finish().

Change-Id: I85a45b691a6c7089cd1a765871a11a7c60c3cdff
Reviewed-on: http://codereview.qt.nokia.com/3780
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/qml/qdeclarativescriptparser.cpp