Mercurial > projects > ddmd
comparison 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 |
comparison
equal
deleted
inserted
replaced
186:1a0c1126bc46 | 187:b0d41ff5e0df |
---|---|
18 import dmd.InterState; | 18 import dmd.InterState; |
19 | 19 |
20 import dmd.backend.elem; | 20 import dmd.backend.elem; |
21 import dmd.backend.Util; | 21 import dmd.backend.Util; |
22 | 22 |
23 import dmd.DDMDExtensions; | |
24 | |
23 class CommaExp : BinExp | 25 class CommaExp : BinExp |
24 { | 26 { |
27 mixin insertMemberExtension!(typeof(this)); | |
28 | |
25 this(Loc loc, Expression e1, Expression e2) | 29 this(Loc loc, Expression e1, Expression e2) |
26 { | 30 { |
27 register(); | 31 register(); |
28 | 32 |
29 super(loc, TOK.TOKcomma, CommaExp.sizeof, e1, e2); | 33 super(loc, TOK.TOKcomma, CommaExp.sizeof, e1, e2); |