diff dmd/declaration.c @ 73:b706170e24a9 trunk

[svn r77] Fixed foreach on slice. Fixed some nested function problems when accessing outer function parameters. Major changes to handling of structs. Initial support for unions. Probably more...
author lindquist
date Wed, 31 Oct 2007 03:11:32 +0100
parents 6fcc08a4d406
children d8dd47ef3973
line wrap: on
line diff
--- a/dmd/declaration.c	Mon Oct 29 03:28:12 2007 +0100
+++ b/dmd/declaration.c	Wed Oct 31 03:11:32 2007 +0100
@@ -550,6 +550,8 @@
     canassign = 0;
     value = NULL;
     llvmNestedIndex = -1;
+    llvmFieldIndex = -1;
+    llvmFieldIndexOffset = 0;
 }
 
 Dsymbol *VarDeclaration::syntaxCopy(Dsymbol *s)