Mercurial > projects > ddmd
comparison dmd/GotoStatement.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 |
---|---|
21 import dmd.backend.Util; | 21 import dmd.backend.Util; |
22 import dmd.backend.block; | 22 import dmd.backend.block; |
23 import dmd.backend.Blockx; | 23 import dmd.backend.Blockx; |
24 import dmd.backend.BC; | 24 import dmd.backend.BC; |
25 | 25 |
26 import dmd.DDMDExtensions; | |
27 | |
26 class GotoStatement : Statement | 28 class GotoStatement : Statement |
27 { | 29 { |
30 mixin insertMemberExtension!(typeof(this)); | |
31 | |
28 Identifier ident; | 32 Identifier ident; |
29 LabelDsymbol label = null; | 33 LabelDsymbol label = null; |
30 TryFinallyStatement tf = null; | 34 TryFinallyStatement tf = null; |
31 | 35 |
32 this(Loc loc, Identifier ident) | 36 this(Loc loc, Identifier ident) |