Mercurial > projects > ldc
comparison dmd/mangle.c @ 1133:eeb8b95ea92e
Cleanup DMD 1.041 merge.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Mon, 23 Mar 2009 20:26:33 +0100 |
parents | b30fe7e1dbb9 |
children | e961851fb8be |
comparison
equal
deleted
inserted
replaced
1132:76e72fdef04d | 1133:eeb8b95ea92e |
---|---|
153 #endif | 153 #endif |
154 { | 154 { |
155 if (isMain()) | 155 if (isMain()) |
156 return (char *)"_Dmain"; | 156 return (char *)"_Dmain"; |
157 | 157 |
158 if (isWinMain() || isDllMain()) | 158 if (isWinMain() || isDllMain()) |
159 return ident->toChars(); | 159 return ident->toChars(); |
160 | 160 |
161 assert(this); | 161 assert(this); |
162 return Declaration::mangle(); | 162 return Declaration::mangle(); |
163 } | 163 } |
164 | 164 |
165 char *StructDeclaration::mangle() | 165 char *StructDeclaration::mangle() |
166 { | 166 { |
167 //printf("StructDeclaration::mangle() '%s'\n", toChars()); | 167 //printf("StructDeclaration::mangle() '%s'\n", toChars()); |