diff dmd/module.h @ 86:fd32135dca3e trunk

[svn r90] Major updates to the gen directory. Redesigned the 'elem' struct. Much more... !!! Lots of bugfixes. Added support for special foreach on strings. Added std.array, std.utf, std.ctype and std.uni to phobos. Changed all the .c files in the gen dir to .cpp (it *is* C++ after all)
author lindquist
date Sat, 03 Nov 2007 14:44:58 +0100
parents 0c77619e803b
children 61615fa85940
line wrap: on
line diff
--- a/dmd/module.h	Fri Nov 02 06:32:32 2007 +0100
+++ b/dmd/module.h	Sat Nov 03 14:44:58 2007 +0100
@@ -26,11 +26,16 @@
 struct VarDeclaration;
 
 // Back end
-#if IN_GCC
+#if IN_LLVM
+struct DValue;
+typedef DValue elem;
+#else
+#ifdef IN_GCC
 union tree_node; typedef union tree_node elem;
 #else
 struct elem;
 #endif
+#endif
 
 struct Package : ScopeDsymbol
 {