comparison dmd/Statement.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 af724d3510d7
children b0d41ff5e0df
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
35 return null; 35 return null;
36 istate.start = null; 36 istate.start = null;
37 } 37 }
38 `; 38 `;
39 39
40 class Statement 40 import dmd.TObject;
41
42 class Statement : TObject
41 { 43 {
42 Loc loc; 44 Loc loc;
43 45
44 this(Loc loc) 46 this(Loc loc)
45 { 47 {
48 register();
46 this.loc = loc; 49 this.loc = loc;
47 } 50 }
48 51
49 Statement syntaxCopy() 52 Statement syntaxCopy()
50 { 53 {