comparison dmd/TypeSArray.d @ 67:f708f0452e81

some of the backend/codegen stuff implemented
author korDen
date Mon, 23 Aug 2010 21:21:05 +0400
parents 4290d870944a
children 2e2a5c3f943a
comparison
equal deleted inserted replaced
66:efb1e5bdf63c 67:f708f0452e81
304 next.toDecoBuffer(buf, (flag & 0x100) ? flag : mod); 304 next.toDecoBuffer(buf, (flag & 0x100) ? flag : mod);
305 } 305 }
306 306
307 void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod) 307 void toCBuffer2(OutBuffer buf, HdrGenState* hgs, MOD mod)
308 { 308 {
309 assert(false); 309 if (mod != this.mod)
310 {
311 toCBuffer3(buf, hgs, mod);
312 return;
313 }
314 next.toCBuffer2(buf, hgs, this.mod);
315 buf.printf("[%s]", dim.toChars());
310 } 316 }
311 317
312 Expression dotExp(Scope sc, Expression e, Identifier ident) 318 Expression dotExp(Scope sc, Expression e, Identifier ident)
313 { 319 {
314 version (LOGDOTEXP) { 320 version (LOGDOTEXP) {