diff dmd/expression.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 8b0e809563df
children 16e88334bba7
line wrap: on
line diff
--- a/dmd/expression.h	Fri Nov 02 06:32:32 2007 +0100
+++ b/dmd/expression.h	Sat Nov 03 14:44:58 2007 +0100
@@ -56,11 +56,16 @@
 struct IRState;
 struct dt_t;
 
+#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
 
 void initPrecedence();