From fd90c3503db076b95f2e97455e9e8fcf9c374a88 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Thu, 4 Feb 2010 14:55:18 +0100 Subject: Added AST nodes for compound expressions (a GNU extension). --- src/shared/cplusplus/CheckExpression.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/shared/cplusplus/CheckExpression.cpp') diff --git a/src/shared/cplusplus/CheckExpression.cpp b/src/shared/cplusplus/CheckExpression.cpp index f8da07534c..c971204c2e 100644 --- a/src/shared/cplusplus/CheckExpression.cpp +++ b/src/shared/cplusplus/CheckExpression.cpp @@ -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); -- cgit v1.2.1