comparison dmd/ThisExp.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 9e39c7de8438
children b0d41ff5e0df
comparison
equal deleted inserted replaced
177:1475fd394c9e 178:e3afd1303184
31 { 31 {
32 Declaration var; 32 Declaration var;
33 33
34 this(Loc loc) 34 this(Loc loc)
35 { 35 {
36 register();
36 super(loc, TOK.TOKthis, ThisExp.sizeof); 37 super(loc, TOK.TOKthis, ThisExp.sizeof);
37 //printf("ThisExp::ThisExp() loc = %d\n", loc.linnum); 38 //printf("ThisExp::ThisExp() loc = %d\n", loc.linnum);
38 } 39 }
39 40
40 override Expression semantic(Scope sc) 41 override Expression semantic(Scope sc)