Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
85:f869c636a113 | 86:fd32135dca3e |
---|---|
24 struct Macro; | 24 struct Macro; |
25 struct Escape; | 25 struct Escape; |
26 struct VarDeclaration; | 26 struct VarDeclaration; |
27 | 27 |
28 // Back end | 28 // Back end |
29 #if IN_GCC | 29 #if IN_LLVM |
30 struct DValue; | |
31 typedef DValue elem; | |
32 #else | |
33 #ifdef IN_GCC | |
30 union tree_node; typedef union tree_node elem; | 34 union tree_node; typedef union tree_node elem; |
31 #else | 35 #else |
32 struct elem; | 36 struct elem; |
37 #endif | |
33 #endif | 38 #endif |
34 | 39 |
35 struct Package : ScopeDsymbol | 40 struct Package : ScopeDsymbol |
36 { | 41 { |
37 Package(Identifier *ident); | 42 Package(Identifier *ident); |