Mercurial > projects > ddmd
comparison dmd/StructDeclaration.d @ 103:e6090d1aea7c
fixed dmd.Id + some small fixups
author | Trass3r |
---|---|
date | Tue, 31 Aug 2010 16:22:22 +0200 |
parents | ae5b11064a9a |
children | e28b18c23469 |
comparison
equal
deleted
inserted
replaced
99:903b95002d4e | 103:e6090d1aea7c |
---|---|
576 // Typeinfo.postblit(cast(void*)&this.v); | 576 // Typeinfo.postblit(cast(void*)&this.v); |
577 Expression ea = new AddrExp(Loc(0), ex); | 577 Expression ea = new AddrExp(Loc(0), ex); |
578 ea = new CastExp(Loc(0), ea, Type.tvoid.pointerTo()); | 578 ea = new CastExp(Loc(0), ea, Type.tvoid.pointerTo()); |
579 | 579 |
580 Expression et = v.type.getTypeInfo(sc); | 580 Expression et = v.type.getTypeInfo(sc); |
581 et = new DotIdExp(Loc(0), et, Id.postblit); | 581 et = new DotIdExp(Loc(0), et, Id._postblit); |
582 | 582 |
583 ex = new CallExp(Loc(0), et, ea); | 583 ex = new CallExp(Loc(0), et, ea); |
584 } | 584 } |
585 e = Expression.combine(e, ex); // combine in forward order | 585 e = Expression.combine(e, ex); // combine in forward order |
586 } | 586 } |