replace piForeach* to for(:)

another c++11 try ...
This commit is contained in:
2020-07-30 20:08:33 +03:00
parent 2ffc457566
commit 557f2a4d0d
18 changed files with 151 additions and 235 deletions

View File

@@ -218,7 +218,7 @@ void writeClassStreamMembersOut(PIFile & f, const PICodeParser::Entity * e, int
f << "));\n";
}
if (is_union)
piBreak;
break;
}
if (is_union) return;
piForeachC (PICodeParser::Entity * ce, e->children) {
@@ -261,7 +261,7 @@ void writeClassStreamMembersIn(PIFile & f, const PICodeParser::Entity * e, int &
f << "\t\t\tbreak;\n";
}
if (is_union)
piBreak;
break;
}
if (is_union) return;
piForeachC (PICodeParser::Entity * ce, e->children) {