Commit af89fb1b authored by Roberto Raggi's avatar Roberto Raggi

Implemented ExpressionListAST::accept().

parent 03854281
......@@ -1352,8 +1352,12 @@ unsigned ExceptionSpecificationAST::lastToken() const
return throw_token + 1;
}
void ExpressionListAST::accept0(ASTVisitor *)
{ assert(0); }
void ExpressionListAST::accept0(ASTVisitor *visitor)
{
for (const ExpressionListAST *it = this; it; it = it->next) {
accept(it->expression, visitor);
}
}
unsigned ExpressionListAST::firstToken() const
{
......
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