Mercurial > projects > ddmd
comparison dmd/Declaration.d @ 22:fd4acc376c45
Implemented object file output and linking on linux.
author | Robert Clipsham <robert@octarineparrot.com> |
---|---|
date | Thu, 08 Apr 2010 04:21:03 +0100 |
parents | 5c9b78899f5d |
children | ee3a9f34dc48 |
comparison
equal
deleted
inserted
replaced
21:26b9f97f6162 | 22:fd4acc376c45 |
---|---|
196 assert(false); | 196 assert(false); |
197 } | 197 } |
198 } | 198 } |
199 body+/ | 199 body+/ |
200 { | 200 { |
201 version(Bug3602) { writef( "Bug3602: Uncomment outblock when fixed" ); } | 201 version(Bug3602) { writef( "Bug3602: Uncomment outblock when fixed\n" ); } |
202 //writef("Declaration.mangle(this = %p, '%s', parent = '%s', linkage = %d)\n", this, toChars(), parent ? parent.toChars() : "null", linkage); | 202 //writef("Declaration.mangle(this = %p, '%s', parent = '%s', linkage = %d)\n", this, toChars(), parent ? parent.toChars() : "null", linkage); |
203 if (!parent || parent.isModule() || linkage == LINK.LINKcpp) // if at global scope | 203 if (!parent || parent.isModule() || linkage == LINK.LINKcpp) // if at global scope |
204 { | 204 { |
205 // If it's not a D declaration, no mangling | 205 // If it's not a D declaration, no mangling |
206 switch (linkage) | 206 switch (linkage) |