diff dmd2/struct.c @ 847:356e65836fb5

Merged DMD 2.021 frontend. Removed generated files from dmd/dmd2 dirs.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sat, 13 Dec 2008 16:14:37 +0100
parents f04dde6e882c
children de97188378bc
line wrap: on
line diff
--- a/dmd2/struct.c	Sat Dec 13 13:15:31 2008 +0100
+++ b/dmd2/struct.c	Sat Dec 13 16:14:37 2008 +0100
@@ -264,7 +264,11 @@
     }
 
     parent = sc->parent;
+#if STRUCTTHISREF
+    handle = type;
+#else
     handle = type->pointerTo();
+#endif
     structalign = sc->structalign;
     protection = sc->protection;
     storage_class |= sc->stc;