diff dmd/declaration.h @ 1309:0c03ba6f7c24

Fixed deal breaker bug for more-at-once compilation when any module contained aggregates. Fixes ticket #272 .
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Thu, 07 May 2009 02:10:29 +0200
parents e961851fb8be
children 78038e540342
line wrap: on
line diff
--- a/dmd/declaration.h	Wed May 06 20:29:27 2009 +0200
+++ b/dmd/declaration.h	Thu May 07 02:10:29 2009 +0200
@@ -290,9 +290,15 @@
     /// Codegen traversal
     virtual void codegen(Ir* ir);
 
-    // LDC
+    /// Index into parent aggregate.
+    /// Set during type generation.
+    unsigned aggrIndex;
+
+    // FIXME: we're not using these anymore!
     AnonDeclaration* anonDecl;
     unsigned offset2;
+
+    /// This var is used by a naked function.
     bool nakedUse;
 #endif
 };