mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 02:41:30 +00:00
Revert "Do not lose the block expression when taking its address."
This reverts commit b49d90e769
.
I suspect this was a workaround for the mess in assignment chains.
However, it caused compile errors with the new implementation, and is
just bogus anyway.
This commit is contained in:
parent
7cc51c9ca3
commit
277ff719f5
1 changed files with 1 additions and 2 deletions
|
@ -2229,8 +2229,7 @@ address_expr (expr_t *e1, expr_t *e2, type_t *t)
|
|||
case ex_block:
|
||||
if (!e1->e.block.result)
|
||||
return error (e1, "invalid type for unary &");
|
||||
e1->e.block.result = address_expr (e1->e.block.result, e2, t);
|
||||
return e1;
|
||||
return address_expr (e1->e.block.result, e2, t);
|
||||
case ex_label:
|
||||
return new_label_ref (&e1->e.label);
|
||||
case ex_temp:
|
||||
|
|
Loading…
Reference in a new issue