Mercurial > projects > ddmd
comparison dmd/PostBlitDeclaration.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 | cd48cb899aee |
children |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
15 import dmd.STC; | 15 import dmd.STC; |
16 import dmd.Type; | 16 import dmd.Type; |
17 import dmd.TypeFunction; | 17 import dmd.TypeFunction; |
18 import dmd.Id; | 18 import dmd.Id; |
19 | 19 |
20 import dmd.DDMDExtensions; | |
21 | |
20 version(DMDV2) | 22 version(DMDV2) |
21 class PostBlitDeclaration : FuncDeclaration | 23 class PostBlitDeclaration : FuncDeclaration |
22 { | 24 { |
25 mixin insertMemberExtension!(typeof(this)); | |
26 | |
23 this(Loc loc, Loc endloc) | 27 this(Loc loc, Loc endloc) |
24 { | 28 { |
25 register(); | 29 register(); |
26 super(loc, endloc, Id._postblit, STCundefined, null); | 30 super(loc, endloc, Id._postblit, STCundefined, null); |
27 } | 31 } |