Mercurial > projects > ddmd
comparison dmd/ScopeDsymbol.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 | 60bb0fe4563e |
children | b0d41ff5e0df |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
28 Array imports; // imported ScopeDsymbol's | 28 Array imports; // imported ScopeDsymbol's |
29 PROT* prots; // array of PROT, one for each import | 29 PROT* prots; // array of PROT, one for each import |
30 | 30 |
31 this() | 31 this() |
32 { | 32 { |
33 register(); | |
33 // do nothing | 34 // do nothing |
34 } | 35 } |
35 | 36 |
36 this(Identifier id) | 37 this(Identifier id) |
37 { | 38 { |
39 register(); | |
38 super(id); | 40 super(id); |
39 } | 41 } |
40 | 42 |
41 override Dsymbol syntaxCopy(Dsymbol s) | 43 override Dsymbol syntaxCopy(Dsymbol s) |
42 { | 44 { |