Mercurial > projects > ddmd
comparison dmd/IsExp.d @ 178:e3afd1303184
Many small bugs fixed
Made all classes derive from TObject to detect memory leaks (functionality is disabled for now)
Began work on overriding backend memory allocations (to avoid memory leaks)
author | korDen |
---|---|
date | Sun, 17 Oct 2010 07:42:00 +0400 |
parents | af1bebfd96a4 |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
43 TOK tok2; // 'struct', 'union', 'typedef', etc. | 43 TOK tok2; // 'struct', 'union', 'typedef', etc. |
44 TemplateParameters parameters; | 44 TemplateParameters parameters; |
45 | 45 |
46 this(Loc loc, Type targ, Identifier id, TOK tok, Type tspec, TOK tok2, TemplateParameters parameters) | 46 this(Loc loc, Type targ, Identifier id, TOK tok, Type tspec, TOK tok2, TemplateParameters parameters) |
47 { | 47 { |
48 register(); | |
48 super(loc, TOK.TOKis, IsExp.sizeof); | 49 super(loc, TOK.TOKis, IsExp.sizeof); |
49 | 50 |
50 this.targ = targ; | 51 this.targ = targ; |
51 this.id = id; | 52 this.id = id; |
52 this.tok = tok; | 53 this.tok = tok; |