Mercurial > projects > ddmd
comparison dmd/ClassDeclaration.d @ 114:e28b18c23469
added a module dmd.common for commonly used stuff
it currently holds code for consistency checking of predefined versions
also added a VisualD project file
author | Trass3r |
---|---|
date | Wed, 01 Sep 2010 18:21:58 +0200 |
parents | 0c891ec48515 |
children | 767a01c2a272 |
comparison
equal
deleted
inserted
replaced
113:3482c73a991b | 114:e28b18c23469 |
---|---|
1 module dmd.ClassDeclaration; | 1 module dmd.ClassDeclaration; |
2 | 2 |
3 import dmd.common; | |
3 import dmd.AggregateDeclaration; | 4 import dmd.AggregateDeclaration; |
4 import dmd.InterfaceDeclaration; | 5 import dmd.InterfaceDeclaration; |
5 import dmd.ThisDeclaration; | 6 import dmd.ThisDeclaration; |
6 import dmd.CompoundStatement; | 7 import dmd.CompoundStatement; |
7 import dmd.DeleteDeclaration; | 8 import dmd.DeleteDeclaration; |
662 sc.parent = this; | 663 sc.parent = this; |
663 sc.inunion = 0; | 664 sc.inunion = 0; |
664 | 665 |
665 if (isCOMclass()) | 666 if (isCOMclass()) |
666 { | 667 { |
667 version (_WIN32) { | 668 version (Windows) { |
668 sc.linkage = LINK.LINKwindows; | 669 sc.linkage = LINK.LINKwindows; |
669 } else { | 670 } else { |
670 /* This enables us to use COM objects under Linux and | 671 /* This enables us to use COM objects under Linux and |
671 * work with things like XPCOM | 672 * work with things like XPCOM |
672 */ | 673 */ |