summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckStatement.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 11:27:56 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:09 +0100
commit77e7899e7ca3c4f426f53a2cd89e6924fd2d1646 (patch)
tree4ebba24b7feefb9220d3a1a0f8416a91573972fa /src/shared/cplusplus/CheckStatement.cpp
parent36a0ea2bcbe306ef845549defb894f479b47a9a1 (diff)
downloadqt-creator-77e7899e7ca3c4f426f53a2cd89e6924fd2d1646.tar.gz
Removed StatementListAST
Done with Erik Verbruggen
Diffstat (limited to 'src/shared/cplusplus/CheckStatement.cpp')
-rw-r--r--src/shared/cplusplus/CheckStatement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckStatement.cpp b/src/shared/cplusplus/CheckStatement.cpp
index 79a4e2e33d..f2edeae338 100644
--- a/src/shared/cplusplus/CheckStatement.cpp
+++ b/src/shared/cplusplus/CheckStatement.cpp
@@ -105,7 +105,7 @@ bool CheckStatement::visit(CompoundStatementAST *ast)
_scope->enterSymbol(block);
Scope *previousScope = switchScope(block->members());
for (StatementListAST *it = ast->statements; it; it = it->next) {
- semantic()->check(it->statement, _scope);
+ semantic()->check(it->value, _scope);
}
(void) switchScope(previousScope);
return false;