Mercurial > projects > ddmd
comparison dmd/SynchronizedStatement.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 |
---|---|
35 import dmd.DotIdExp; | 35 import dmd.DotIdExp; |
36 | 36 |
37 import dmd.backend.elem; | 37 import dmd.backend.elem; |
38 import dmd.backend.Util; | 38 import dmd.backend.Util; |
39 | 39 |
40 import dmd.DDMDExtensions; | |
41 | |
40 class SynchronizedStatement : Statement | 42 class SynchronizedStatement : Statement |
41 { | 43 { |
44 mixin insertMemberExtension!(typeof(this)); | |
45 | |
42 Expression exp; | 46 Expression exp; |
43 Statement body_; | 47 Statement body_; |
44 | 48 |
45 this(Loc loc, Expression exp, Statement body_) | 49 this(Loc loc, Expression exp, Statement body_) |
46 { | 50 { |