Cleanup Catch clause

This commit is contained in:
Roberto Raggi
2009-11-10 15:15:51 +01:00
parent 380bce4527
commit 30c67f43df
7 changed files with 12 additions and 15 deletions

View File

@@ -804,8 +804,7 @@ void TryBlockStatementAST::accept0(ASTVisitor *visitor)
{
if (visitor->visit(this)) {
accept(statement, visitor);
for (CatchClauseAST *it = catch_clause_seq; it; it = it->next)
accept(it, visitor);
accept(catch_clause_list, visitor);
}
visitor->endVisit(this);
}