Mercurial > projects > ddmd
comparison dmd/StructDeclaration.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 | fa9a71a9f5a8 |
children | cd48cb899aee |
comparison
equal
deleted
inserted
replaced
177:1475fd394c9e | 178:e3afd1303184 |
---|---|
80 FuncDeclaration postblit; // aggregate postblit | 80 FuncDeclaration postblit; // aggregate postblit |
81 } | 81 } |
82 | 82 |
83 this(Loc loc, Identifier id) | 83 this(Loc loc, Identifier id) |
84 { | 84 { |
85 register(); | |
85 super(loc, id); | 86 super(loc, id); |
86 | 87 |
87 // For forward references | 88 // For forward references |
88 type = new TypeStruct(this); | 89 type = new TypeStruct(this); |
89 | 90 |