mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 00:24:12 +00:00
Set the expression type to the correct value for addresses.
This commit is contained in:
parent
21d7c78eb7
commit
ad787ae98a
1 changed files with 1 additions and 1 deletions
|
@ -2490,7 +2490,7 @@ address_expr (expr_t *e1, expr_t *e2, type_t *t)
|
||||||
if (e1->e.expr.op == '.') {
|
if (e1->e.expr.op == '.') {
|
||||||
e = e1->e.expr.e1;
|
e = e1->e.expr.e1;
|
||||||
if (e->type == ex_expr && e->e.expr.op == '.') {
|
if (e->type == ex_expr && e->e.expr.op == '.') {
|
||||||
e->e.expr.type = e->e.expr.type;
|
e->e.expr.type = pointer_type (e->e.expr.type);
|
||||||
e->e.expr.op = '&';
|
e->e.expr.op = '&';
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue