// that's usually intentional, especially with loops.
for (; child != null; child = child.getNext()) {
if ((child.getType() == Token.BLOCK) && (!child.hasChildren())) {
// Only warn on empty blocks that replaced EMPTY nodes. BLOCKs with no
// children are considered OK.
if (child.wasEmptyNode()) {
t.getCompiler().report(
t.makeError(n, level, SUSPICIOUS_SEMICOLON));
}
}
}