Fixed the AST field names.

This commit is contained in:
Roberto Raggi
2009-11-10 16:47:16 +01:00
parent e5eb88a31f
commit 0ae2d96a9b
18 changed files with 455 additions and 455 deletions
@@ -58,7 +58,7 @@ public:
Semantic sem(unit->control());
TranslationUnitAST *ast = unit->ast()->asTranslationUnit();
QVERIFY(ast);
for (DeclarationListAST *decl = ast->declarations; decl; decl = decl->next) {
for (DeclarationListAST *decl = ast->declaration_list; decl; decl = decl->next) {
sem.check(decl->value, globals);
}
}