don't pretend that break()/next()/return() are functions
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Tue, 11 Sep 2012 17:30:29 +0000 (19:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 13 Sep 2012 01:42:44 +0000 (03:42 +0200)
commit8400896cfe3fbef7666329a2920bd0dbdd5890af
tree4aeef74d80fcf6d7443c3790dcacf43a016c00e9
parentae3f95a951334dee001e37c305e4d7bf91c0d1b3
don't pretend that break()/next()/return() are functions

it's a pretty braindead thing to implement control flow statements as
(built-in) functions.

as a "side effect", this fixes return() value handling for lists.

(cherry picked from qtcreator/f53ed6c4b3feca59a94d4f0de8b1a7411122e30e)
(cherry picked from qtcreator/f529e22ec38fb9a656d74394e484d2453cf42c69)
Change-Id: I59c8efa0e4d65329327115f7f8ed20719e7f7546
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
qmake/library/proitems.h
qmake/library/qmakebuiltins.cpp
qmake/library/qmakeevaluator.cpp
qmake/library/qmakeevaluator.h
qmake/library/qmakeparser.cpp
qmake/library/qmakeparser.h