comparison 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
comparison
equal deleted inserted replaced
85:f869c636a113 86:fd32135dca3e
54 54
55 // Back end 55 // Back end
56 struct IRState; 56 struct IRState;
57 struct dt_t; 57 struct dt_t;
58 58
59 #if IN_LLVM
60 struct DValue;
61 typedef DValue elem;
62 #else
59 #ifdef IN_GCC 63 #ifdef IN_GCC
60 union tree_node; typedef union tree_node elem; 64 union tree_node; typedef union tree_node elem;
61 #else 65 #else
62 struct elem; 66 struct elem;
67 #endif
63 #endif 68 #endif
64 69
65 void initPrecedence(); 70 void initPrecedence();
66 71
67 Expression *resolveProperties(Scope *sc, Expression *e); 72 Expression *resolveProperties(Scope *sc, Expression *e);