Commit fba8e151 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixes: Visiting of case statements.

parent fb4ad59d
......@@ -579,6 +579,8 @@ CaseStatementAST *CaseStatementAST::clone(MemoryPool *pool) const
void CaseStatementAST::accept0(ASTVisitor *visitor)
{
if (visitor->visit(this)) {
accept(expression, visitor);
accept(statement, visitor);
}
visitor->endVisit(this);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment