From kdevelop-bugs Mon Jan 29 16:59:50 2007 From: Nico Kruber Date: Mon, 29 Jan 2007 16:59:50 +0000 To: kdevelop-bugs Subject: [Bug 100730] Support for Qt4 keyword: foreach Message-Id: <20070129165950.6143.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-bugs&m=118306963712073 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. http://bugs.kde.org/show_bug.cgi?id=100730 ------- Additional Comments From Nico.Laus.2001 gmx de 2007-01-29 17:59 ------- somehow this does not seem totally fixed right now (KDevelop 3.4.0): in the following example every "{" after the foreach is marked as an error except for the last one strangely enough this does not happen with every file. I've got files where none of the foreach's is marked -------------------------------------------------------- #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QModelIndexList indexs; foreach( QModelIndex index, indexes ) { ; } foreach( QModelIndex index, indexes ) { ; } foreach( QModelIndex index, indexes ) { ; } foreach( QModelIndex index, indexes ) { ; } foreach( QModelIndex index, indexes ) { ; } foreach( QModelIndex index, indexes ) { ; } return app.exec(); }