Fix for membership test with constant LHS
This commit is contained in:
parent
68cebfb733
commit
0ae5288ab7
|
@ -939,7 +939,7 @@ CodeOper(expr, true_label, false_label)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
CodePExpr(rightop);
|
CodePExpr(rightop);
|
||||||
C_loc(rightop->nd_type->set_low-leftop->nd_INT);
|
C_loc(leftop->nd_INT - rightop->nd_type->set_low);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
CodePExpr(rightop);
|
CodePExpr(rightop);
|
||||||
|
|
Loading…
Reference in a new issue