Apply StaticStructInit changes from [913] to dmd2/

This commit is contained in:
Christian Kamm
2009-02-03 18:00:17 +01:00
parent dc5944df99
commit 8726eefefa
5 changed files with 24 additions and 20 deletions

View File

@@ -1647,4 +1647,13 @@ Dsymbol *ThisDeclaration::syntaxCopy(Dsymbol *s)
return NULL;
}
/********************** StaticStructInitDeclaration ***************************/
StaticStructInitDeclaration::StaticStructInitDeclaration(Loc loc, StructDeclaration *dsym)
: Declaration(new Identifier("", TOKidentifier))
{
this->loc = loc;
this->dsym = dsym;
storage_class |= STCconst;
}