forked from qt-creator/qt-creator
Introduced CPlusPlus::Template and process the template declarations.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user