Mercurial > projects > ddmd
comparison dmd/AddExp.d @ 123:9e39c7de8438
Make dmd test suite compile
author | korDen |
---|---|
date | Fri, 03 Sep 2010 20:46:58 +0400 |
parents | 6caaf0256da1 |
children | 60bb0fe4563e |
comparison
equal
deleted
inserted
replaced
122:c77e9f4f1793 | 123:9e39c7de8438 |
---|---|
122 Exp_buildArrayIdent(buf, arguments, "Add"); | 122 Exp_buildArrayIdent(buf, arguments, "Add"); |
123 } | 123 } |
124 | 124 |
125 override Expression buildArrayLoop(Arguments fparams) | 125 override Expression buildArrayLoop(Arguments fparams) |
126 { | 126 { |
127 /* Evaluate assign expressions left to right | 127 return Exp_buildArrayLoop!(typeof(this))(fparams); |
128 */ | |
129 Expression ex1 = e1.buildArrayLoop(fparams); | |
130 Expression ex2 = e2.buildArrayLoop(fparams); | |
131 Expression e = new AddExp(Loc(0), ex1, ex2); | |
132 return e; | |
133 } | 128 } |
134 | 129 |
135 override bool isCommutative() | 130 override bool isCommutative() |
136 { | 131 { |
137 return true; | 132 return true; |