diff dmd/declaration.c @ 1146:1860414bf3b7

* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h. * Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken. * All part of a greater cleanup scheme.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 26 Mar 2009 20:45:53 +0100
parents 76e72fdef04d
children e961851fb8be
line wrap: on
line diff
--- a/dmd/declaration.c	Thu Mar 26 18:46:21 2009 +0100
+++ b/dmd/declaration.c	Thu Mar 26 20:45:53 2009 +0100
@@ -255,7 +255,9 @@
     this->sem = 0;
     this->inuse = 0;
     this->loc = loc;
+#if IN_DMD
     this->sinit = NULL;
+#endif
 }
 
 Dsymbol *TypedefDeclaration::syntaxCopy(Dsymbol *s)