OSDN Git Service

QmlJS indenter: Fix hang when using 'else (a==a) {}'.
authorChristian Kamm <christian.d.kamm@nokia.com>
Wed, 19 Oct 2011 07:21:48 +0000 (09:21 +0200)
committerChristian Kamm <christian.d.kamm@nokia.com>
Wed, 19 Oct 2011 07:40:12 +0000 (09:40 +0200)
commit567e68a42a0a57f6dc83d39cf664e48c1dee6f9b
tree549f41757d84e64ad42129b6192dc3ca29f3fcd1
parent3ede0687baa9260ae32f849a1f433de57381a1ff
QmlJS indenter: Fix hang when using 'else (a==a) {}'.

Change-Id: Id7b8fba6707b1eaabf8065854f357cf600c809c5
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
src/libs/qmljs/qmljscodeformatter.cpp
tests/auto/qml/qmleditor/qmlcodeformatter/tst_qmlcodeformatter.cpp