Mercurial > projects > ldc
comparison dmd2/declaration.c @ 921:75c53f8f67a4
Apply StaticStructInit changes from [913] to dmd2/
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 03 Feb 2009 18:00:17 +0100 |
parents | 340acf1535d0 |
children | 0749c0757a43 |
comparison
equal
deleted
inserted
replaced
920:545f54041d91 | 921:75c53f8f67a4 |
---|---|
1645 { | 1645 { |
1646 assert(0); // should never be produced by syntax | 1646 assert(0); // should never be produced by syntax |
1647 return NULL; | 1647 return NULL; |
1648 } | 1648 } |
1649 | 1649 |
1650 | 1650 |
1651 /********************** StaticStructInitDeclaration ***************************/ | |
1652 | |
1653 StaticStructInitDeclaration::StaticStructInitDeclaration(Loc loc, StructDeclaration *dsym) | |
1654 : Declaration(new Identifier("", TOKidentifier)) | |
1655 { | |
1656 this->loc = loc; | |
1657 this->dsym = dsym; | |
1658 storage_class |= STCconst; | |
1659 } |