Mercurial > projects > ddmd
comparison dmd/StructInitializer.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 |
---|---|
39 VarDeclarations vars; // parallel array of VarDeclaration *'s | 39 VarDeclarations vars; // parallel array of VarDeclaration *'s |
40 AggregateDeclaration ad; // which aggregate this is for | 40 AggregateDeclaration ad; // which aggregate this is for |
41 | 41 |
42 this(Loc loc) | 42 this(Loc loc) |
43 { | 43 { |
44 register(); | |
44 super(loc); | 45 super(loc); |
45 ad = null; | 46 ad = null; |
46 | 47 |
47 field = new Identifiers(); | 48 field = new Identifiers(); |
48 value = new Initializers(); | 49 value = new Initializers(); |