diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-09 13:05:49 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-04-16 15:22:09 (GMT) |
commit | d7bfacf05545c409943a745a75051839747c87ca (patch) | |
tree | 63ef5ddd869804f28be21aecf5f5d650c43518ed /qmake/project.cpp | |
parent | 10078e4593c369a460a170bef1bc74a55ba3b2e2 (diff) | |
download | Qt-d7bfacf05545c409943a745a75051839747c87ca.zip Qt-d7bfacf05545c409943a745a75051839747c87ca.tar.gz Qt-d7bfacf05545c409943a745a75051839747c87ca.tar.bz2 |
remove ability to use break() a block outside any loop
it is a completely bizarre feature which is nowhere documented and no
justification for it is provided anywhere.
Reviewed-by: mariusSO
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r-- | qmake/project.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/qmake/project.cpp b/qmake/project.cpp index 764264f..249ea67 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -2516,8 +2516,6 @@ QMakeProject::doProjectTest(QString func, QList<QStringList> args_list, QMap<QSt case T_BREAK: if(iterator) iterator->cause_break = true; - else if(!scope_blocks.isEmpty()) - scope_blocks.top().ignore = true; else fprintf(stderr, "%s:%d unexpected break()\n", parser.file.toLatin1().constData(), parser.line_no); |