diff dmd/AggregateDeclaration.d @ 130:60bb0fe4563e

dmdfe 2.037 first main iteration
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Thu, 09 Sep 2010 22:51:44 +0100
parents 767a01c2a272
children 206db751bd4c
line wrap: on
line diff
--- a/dmd/AggregateDeclaration.d	Sun Sep 05 15:32:22 2010 +0400
+++ b/dmd/AggregateDeclaration.d	Thu Sep 09 22:51:44 2010 +0100
@@ -141,7 +141,7 @@
 class AggregateDeclaration : ScopeDsymbol
 {
     Type type;
-    uint storage_class;
+    STC storage_class;
     PROT protection = PROT.PROTpublic;
     Type handle;		// 'this' type
     uint structsize;	// size of struct
@@ -154,10 +154,11 @@
 				// 1: size is correct
 				// 2: cannot determine size; fwd referenced
     bool isdeprecated;		// true if deprecated
-
+	
+version (DMDV2) {
     bool isnested;		// true if is nested
     VarDeclaration vthis;	// 'this' parameter if this aggregate is nested
-
+}
     // Special member functions
     InvariantDeclaration inv;		// invariant
     NewDeclaration aggNew;		// allocator