Ported the accept methods.

This commit is contained in:
Roberto Raggi
2009-11-10 16:19:52 +01:00
parent cdb1443219
commit e5eb88a31f
8 changed files with 105 additions and 124 deletions

View File

@@ -119,7 +119,7 @@ bool CheckExpression::visit(CastExpressionAST *ast)
bool CheckExpression::visit(ConditionAST *ast)
{
FullySpecifiedType typeSpecTy = semantic()->check(ast->type_specifier, _scope);
FullySpecifiedType typeSpecTy = semantic()->check(ast->type_specifiers, _scope);
Name *name = 0;
FullySpecifiedType declTy = semantic()->check(ast->declarator, typeSpecTy.qualifiedType(),
_scope, &name);