From d7bfacf05545c409943a745a75051839747c87ca Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 9 Apr 2010 15:05:49 +0200 Subject: 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 --- qmake/project.cpp | 2 -- 1 file changed, 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 args_list, QMapcause_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); -- cgit v0.12