comparison dmd/DebugSymbol.d @ 187:b0d41ff5e0df

Added expandability scheme outlined in http://www.dsource.org/forums/viewtopic.php?t=5659&sid=6f2150ff5b0bffcd47512a6a7608d218
author Abscissa
date Tue, 07 Jun 2011 23:37:34 -0400
parents e3afd1303184
children
comparison
equal deleted inserted replaced
186:1a0c1126bc46 187:b0d41ff5e0df
11 import dmd.Array; 11 import dmd.Array;
12 import dmd.OutBuffer; 12 import dmd.OutBuffer;
13 13
14 import dmd.condition.util.findCondition; 14 import dmd.condition.util.findCondition;
15 15
16 import dmd.DDMDExtensions;
17
16 /* DebugSymbol's happen for statements like: 18 /* DebugSymbol's happen for statements like:
17 * debug = identifier; 19 * debug = identifier;
18 * debug = integer; 20 * debug = integer;
19 */ 21 */
20 class DebugSymbol : Dsymbol 22 class DebugSymbol : Dsymbol
21 { 23 {
24 mixin insertMemberExtension!(typeof(this));
25
22 uint level; 26 uint level;
23 27
24 this(Loc loc, Identifier ident) 28 this(Loc loc, Identifier ident)
25 { 29 {
26 register(); 30 register();