first operand to intexpr is arith typed
This commit is contained in:
parent
a0db745586
commit
361613bb23
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ ch7asgn(expp, oper, expr)
|
||||||
ch7cast(&expr, oper, (*expp)->ex_type);
|
ch7cast(&expr, oper, (*expp)->ex_type);
|
||||||
}
|
}
|
||||||
else { /* turn e into e' where typeof(e') = typeof (f op e) */
|
else { /* turn e into e' where typeof(e') = typeof (f op e) */
|
||||||
struct expr *extmp = intexpr(0, INT);
|
struct expr *extmp = intexpr((arith)0, INT);
|
||||||
|
|
||||||
/* this is really $#@&*%$# ! */
|
/* this is really $#@&*%$# ! */
|
||||||
extmp->ex_lvalue = 1;
|
extmp->ex_lvalue = 1;
|
||||||
|
|
Loading…
Add table
Reference in a new issue