diff dmd/struct.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 28e99b04a132
children 058d3925950e
line wrap: on
line diff
--- a/dmd/struct.c	Mon Oct 29 03:28:12 2007 +0100
+++ b/dmd/struct.c	Wed Oct 31 03:11:32 2007 +0100
@@ -50,6 +50,7 @@
     llvmConstVtbl = NULL;
     llvmInitZ = NULL;
     llvmInProgress = false;
+    llvmHasUnions = false;
 }
 
 enum PROT AggregateDeclaration::prot()