Renamed the CompoundExpressionAST::compoundStatement.

This commit is contained in:
Roberto Raggi
2010-03-23 10:22:41 +01:00
parent 0d3dfdbc39
commit 6f80219d3e
8 changed files with 15 additions and 15 deletions

View File

@@ -434,9 +434,9 @@ bool ASTMatcher::match(CompoundExpressionAST *node, CompoundExpressionAST *patte
pattern->lparen_token = node->lparen_token;
if (! pattern->compoundStatement)
pattern->compoundStatement = node->compoundStatement;
else if (! AST::match(node->compoundStatement, pattern->compoundStatement, this))
if (! pattern->statement)
pattern->statement = node->statement;
else if (! AST::match(node->statement, pattern->statement, this))
return false;
pattern->rparen_token = node->rparen_token;