Mercurial > projects > ddmd
diff dmd/CommaExp.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 | 52188e7e3fb5 |
line wrap: on
line diff
--- a/dmd/CommaExp.d Tue Jun 07 21:01:03 2011 -0400 +++ b/dmd/CommaExp.d Tue Jun 07 23:37:34 2011 -0400 @@ -20,8 +20,12 @@ import dmd.backend.elem; import dmd.backend.Util; +import dmd.DDMDExtensions; + class CommaExp : BinExp { + mixin insertMemberExtension!(typeof(this)); + this(Loc loc, Expression e1, Expression e2) { register();