Mercurial > projects > ddmd
comparison dmd/ForStatement.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 |
---|---|
27 Expression increment; | 27 Expression increment; |
28 Statement body_; | 28 Statement body_; |
29 | 29 |
30 this(Loc loc, Statement init, Expression condition, Expression increment, Statement body_) | 30 this(Loc loc, Statement init, Expression condition, Expression increment, Statement body_) |
31 { | 31 { |
32 register(); | |
32 super(loc); | 33 super(loc); |
33 | 34 |
34 this.init = init; | 35 this.init = init; |
35 this.condition = condition; | 36 this.condition = condition; |
36 this.increment = increment; | 37 this.increment = increment; |