comparison dmd/SymbolDeclaration.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.backend.Symbol; 11 import dmd.backend.Symbol;
12 12
13 import core.stdc.string; 13 import core.stdc.string;
14 import std.stdio; 14 import std.stdio;
15 15
16 import dmd.DDMDExtensions;
17
16 // This is a shell around a back end symbol 18 // This is a shell around a back end symbol
17 19
18 class SymbolDeclaration : Declaration 20 class SymbolDeclaration : Declaration
19 { 21 {
22 mixin insertMemberExtension!(typeof(this));
23
20 Symbol* sym; 24 Symbol* sym;
21 StructDeclaration dsym; 25 StructDeclaration dsym;
22 26
23 this(Loc loc, Symbol* s, StructDeclaration dsym) 27 this(Loc loc, Symbol* s, StructDeclaration dsym)
24 { 28 {