comparison dmd/Dsymbol.d @ 73:ef02e2e203c2

Updating to dmd2.033
author korDen
date Sat, 28 Aug 2010 19:42:41 +0400
parents ecf732dfe11e
children 7e0d548de9e6
comparison
equal deleted inserted replaced
72:2e2a5c3f943a 73:ef02e2e203c2
841 } 841 }
842 version (Bug4054) 842 version (Bug4054)
843 id = cast(char*) GC.malloc(2 + nlen + size_t.sizeof * 3 + prefix.length + suffix.length + 1); 843 id = cast(char*) GC.malloc(2 + nlen + size_t.sizeof * 3 + prefix.length + suffix.length + 1);
844 else 844 else
845 id = cast(char*) alloca(2 + nlen + size_t.sizeof * 3 + prefix.length + suffix.length + 1); 845 id = cast(char*) alloca(2 + nlen + size_t.sizeof * 3 + prefix.length + suffix.length + 1);
846 sprintf(id, "_D%.*s%lu%.*s%.*s", n, prefix.length, prefix, suffix); 846 sprintf(id, "_D%.*s%zu%.*s%.*s", n, prefix.length, prefix, suffix);
847 847
848 static if (false) { 848 static if (false) {
849 if (global.params.isWindows && (type_mangle(t) == mTYman.mTYman_c || type_mangle(t) == mTYman.mTYman_std)) 849 if (global.params.isWindows && (type_mangle(t) == mTYman.mTYman_c || type_mangle(t) == mTYman.mTYman_std))
850 id++; // Windows C mangling will put the '_' back in 850 id++; // Windows C mangling will put the '_' back in
851 } 851 }