Skip to content
This repository
Browse code

Made **= non-fallthrough too

  • Loading branch information...
commit c46baa586198f0f2635583919c405713ff5637ec 1 parent 2f96c0b
Alexandros Naskos shamanas authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  source/rock/middle/BinaryOp.ooc
3  source/rock/middle/BinaryOp.ooc
@@ -375,7 +375,8 @@ BinaryOp: class extends Expression {
375 375 lCover := lRef instanceOf?(CoverDecl)
376 376 rCover := rRef instanceOf?(CoverDecl)
377 377 if((!lCompound || !rCompound) && (lCover || rCover)) {
378   - if(type == OpType exp) return false
  378 + // If a C struct is involved
  379 + if(type == OpType exp || type == OpType expAss) return false
379 380 }
380 381
381 382 if(isAssign()) {

0 comments on commit c46baa5

Please sign in to comment.
Something went wrong with that request. Please try again.