diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 11:23:35 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:09 +0100 |
commit | 36a0ea2bcbe306ef845549defb894f479b47a9a1 (patch) | |
tree | 88252dd63e214dacb9683092876081e1273e4fc4 /src/libs/cplusplus/CppDocument.cpp | |
parent | 4089c906fa0fb2988e73c23d8eeb5a15d8b8629f (diff) | |
download | qt-creator-36a0ea2bcbe306ef845549defb894f479b47a9a1.tar.gz |
Removed DeclarationListAST node.
Done with Erik Verbruggen
Diffstat (limited to 'src/libs/cplusplus/CppDocument.cpp')
-rw-r--r-- | src/libs/cplusplus/CppDocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/cplusplus/CppDocument.cpp b/src/libs/cplusplus/CppDocument.cpp index b05525b854..0a6b1f1635 100644 --- a/src/libs/cplusplus/CppDocument.cpp +++ b/src/libs/cplusplus/CppDocument.cpp @@ -414,7 +414,7 @@ void Document::check(CheckMode mode) if (TranslationUnitAST *ast = _translationUnit->ast()->asTranslationUnit()) { for (DeclarationListAST *decl = ast->declarations; decl; decl = decl->next) { - semantic.check(decl->declaration, globals); + semantic.check(decl->value, globals); } } else if (ExpressionAST *ast = _translationUnit->ast()->asExpression()) { semantic.check(ast, globals); |