diff dmd/enum.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 aaade6ded589
children e961851fb8be
line wrap: on
line diff
--- a/dmd/enum.c	Thu Mar 26 18:46:21 2009 +0100
+++ b/dmd/enum.c	Thu Mar 26 20:45:53 2009 +0100
@@ -27,7 +27,9 @@
     maxval = 0;
     minval = 0;
     defaultval = 0;
+#if IN_DMD
     sinit = NULL;
+#endif
     isdeprecated = 0;
 }