Mercurial > projects > ldc
comparison dmd/expression.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 | eeb8b95ea92e |
children | 3cf0066e6faf |
comparison
equal
deleted
inserted
replaced
1145:40caa8207b3e | 1146:1860414bf3b7 |
---|---|
3073 StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *elements) | 3073 StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *elements) |
3074 : Expression(loc, TOKstructliteral, sizeof(StructLiteralExp)) | 3074 : Expression(loc, TOKstructliteral, sizeof(StructLiteralExp)) |
3075 { | 3075 { |
3076 this->sd = sd; | 3076 this->sd = sd; |
3077 this->elements = elements; | 3077 this->elements = elements; |
3078 #if IN_DMD | |
3078 this->sym = NULL; | 3079 this->sym = NULL; |
3080 #endif | |
3079 this->soffset = 0; | 3081 this->soffset = 0; |
3080 this->fillHoles = 1; | 3082 this->fillHoles = 1; |
3081 } | 3083 } |
3082 | 3084 |
3083 Expression *StructLiteralExp::syntaxCopy() | 3085 Expression *StructLiteralExp::syntaxCopy() |