comparison dmd/PragmaDeclaration.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 0622fff7810a
children
comparison
equal deleted inserted replaced
186:1a0c1126bc46 187:b0d41ff5e0df
21 import dmd.backend.Util; 21 import dmd.backend.Util;
22 import dmd.backend.Symbol; 22 import dmd.backend.Symbol;
23 23
24 import core.stdc.stdlib : malloc; 24 import core.stdc.stdlib : malloc;
25 25
26 import dmd.DDMDExtensions;
27
26 class PragmaDeclaration : AttribDeclaration 28 class PragmaDeclaration : AttribDeclaration
27 { 29 {
30 mixin insertMemberExtension!(typeof(this));
31
28 Expressions args; // array of Expression's 32 Expressions args; // array of Expression's
29 33
30 this(Loc loc, Identifier ident, Expressions args, Dsymbols decl) 34 this(Loc loc, Identifier ident, Expressions args, Dsymbols decl)
31 { 35 {
32 register(); 36 register();