Added AST nodes for compound expressions (a GNU extension).

This commit is contained in:
Erik Verbruggen
2010-02-04 14:55:18 +01:00
parent 7cdb15e7fc
commit fd90c3503d
14 changed files with 111 additions and 21 deletions

View File

@@ -287,6 +287,11 @@ bool CheckExpression::visit(ThisExpressionAST *)
return false;
}
bool CheckExpression::visit(CompoundExpressionAST *ast)
{
return true; // ###
}
bool CheckExpression::visit(NestedExpressionAST *ast)
{
FullySpecifiedType exprTy = semantic()->check(ast->expression, _scope);