Mercurial > projects > ldc
comparison dmd/mangle.c @ 139:0ab29b838084 trunk
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
Fixed: tango.io.Console seems to be working now.
author | lindquist |
---|---|
date | Tue, 22 Jan 2008 00:01:16 +0100 |
parents | c53b6e3fe49a |
children | 2b72433d5c8c |
comparison
equal
deleted
inserted
replaced
138:aeddd4d533b3 | 139:0ab29b838084 |
---|---|
139 #endif | 139 #endif |
140 { | 140 { |
141 if (isMain()) | 141 if (isMain()) |
142 return "_Dmain"; | 142 return "_Dmain"; |
143 | 143 |
144 if (isWinMain() || isDllMain()) | |
145 return ident->toChars(); | |
146 | |
144 assert(this); | 147 assert(this); |
145 | |
146 return Declaration::mangle(); | 148 return Declaration::mangle(); |
147 } | 149 } |
148 | 150 |
149 char *StructDeclaration::mangle() | 151 char *StructDeclaration::mangle() |
150 { | 152 { |