mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 00:23:14 +01:00
Apply StaticStructInit changes from [913] to dmd2/
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user