comparison dmd/OrExp.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
46 e = this; 46 e = this;
47 } 47 }
48 else 48 else
49 { 49 {
50 typeCombine(sc); 50 typeCombine(sc);
51 if (e1.op != TOK.TOKslice && e2.op != TOK.TOKslice) 51 if (!e1.isArrayOperand())
52 {
53 e1.checkIntegral(); 52 e1.checkIntegral();
53 if (!e2.isArrayOperand())
54 e2.checkIntegral(); 54 e2.checkIntegral();
55 }
56 } 55 }
57 } 56 }
58 57
59 return this; 58 return this;
60 } 59 }