comparison dmd/NegExp.d @ 109:ceda59b4d255

expression.c changes, now only ddoc should be left
author Trass3r
date Tue, 31 Aug 2010 22:08:52 +0200
parents 2e2a5c3f943a
children e28b18c23469
comparison
equal deleted inserted replaced
108:6da99741178e 109:ceda59b4d255
39 e = op_overload(sc); 39 e = op_overload(sc);
40 if (e) 40 if (e)
41 return e; 41 return e;
42 42
43 e1.checkNoBool(); 43 e1.checkNoBool();
44 if (e1.op != TOKslice) 44 if (!e1.isArrayOperand())
45 e1.checkArithmetic(); 45 e1.checkArithmetic();
46 46
47 type = e1.type; 47 type = e1.type;
48 } 48 }
49 return this; 49 return this;