Introduced CPlusPlus::Template and process the template declarations.

This commit is contained in:
Roberto Raggi
2010-08-11 13:46:32 +02:00
parent 6618a3cd67
commit f74ba9daef
18 changed files with 166 additions and 39 deletions

View File

@@ -130,7 +130,7 @@ void parse(const char *fileName, const char *source, unsigned size)
Semantic sem(&unit);
Namespace *globalNamespace = control.newNamespace(0);
for (List<DeclarationAST *> *it = ast->declaration_list; it; it = it->next) {
sem.check(it->value, globalNamespace->members());
sem.check(it->value, globalNamespace);
}
}
}