Permalink
Browse files

Made **= non-fallthrough too

  • Loading branch information...
alexnask committed Dec 2, 2011
1 parent 2f96c0b commit c46baa586198f0f2635583919c405713ff5637ec
Showing with 2 additions and 1 deletion.
  1. +2 −1 source/rock/middle/BinaryOp.ooc
@@ -375,7 +375,8 @@ BinaryOp: class extends Expression {
lCover := lRef instanceOf?(CoverDecl)
rCover := rRef instanceOf?(CoverDecl)
if((!lCompound || !rCompound) && (lCover || rCover)) {
- if(type == OpType exp) return false
+ // If a C struct is involved
+ if(type == OpType exp || type == OpType expAss) return false
}
if(isAssign()) {

0 comments on commit c46baa5

Please sign in to comment.