Removed DeclarationListAST node.

Done with Erik Verbruggen
This commit is contained in:
Roberto Raggi
2009-11-10 11:23:35 +01:00
parent 4089c906fa
commit 36a0ea2bcb
13 changed files with 27 additions and 70 deletions

View File

@@ -59,7 +59,7 @@ public:
TranslationUnitAST *ast = unit->ast()->asTranslationUnit();
QVERIFY(ast);
for (DeclarationListAST *decl = ast->declarations; decl; decl = decl->next) {
sem.check(decl->declaration, globals);
sem.check(decl->value, globals);
}
}