simplified stupid ?: expression
This commit is contained in:
parent
f99d67e76e
commit
57790a926f
1 changed files with 1 additions and 2 deletions
|
@ -202,8 +202,7 @@ ch3bin(expp, oper, expr)
|
|||
else {
|
||||
ex->ex_flags |= expr->ex_flags;
|
||||
free_expression(expr);
|
||||
*expp = intexpr((arith)((oper == AND) ? 0 : 1),
|
||||
INT);
|
||||
*expp = intexpr((arith)(oper != AND), INT);
|
||||
}
|
||||
(*expp)->ex_flags |= ex->ex_flags | EX_ILVALUE;
|
||||
free_expression(ex);
|
||||
|
|
Loading…
Reference in a new issue