mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
get double indirection working
do not try to optimize the output of the sub-dereference in a dereference
This commit is contained in:
parent
dc3fc291f6
commit
22776f9ffd
1 changed files with 4 additions and 1 deletions
|
@ -472,7 +472,10 @@ emit_deref_expr (expr_t *e, def_t *dest)
|
|||
&& e->e.expr.op == '&'
|
||||
&& e->e.expr.e1->type < ex_string)
|
||||
e->e.expr.op = '.';
|
||||
d = emit_sub_expr (e, dest);
|
||||
if (e->type == ex_uexpr && e->e.expr.op == '.')
|
||||
d = emit_sub_expr (e, 0);
|
||||
else
|
||||
d = emit_sub_expr (e, dest);
|
||||
|
||||
if (dest && d != dest) {
|
||||
zero.type = ex_short;
|
||||
|
|
Loading…
Reference in a new issue