Update the decl specifiers.

This commit is contained in:
Roberto Raggi
2010-08-17 11:08:06 +02:00
parent 90dea9d645
commit 489d8eee68

View File

@@ -1701,6 +1701,7 @@ bool Bind::visit(SimpleDeclarationAST *ast)
}
ForwardClassDeclaration *decl = control()->newForwardClassDeclaration(sourceLocation, name);
setDeclSpecifiers(decl, type);
_scope->addMember(decl);
*symbolTail = new (translationUnit()->memoryPool()) List<Symbol *>(decl);