mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Don't short-circuit aliased values
Not sure why I thought it was a good idea as it turns out this is why cast pointer initializers were being lost.
This commit is contained in:
parent
3257e7145b
commit
ce9902baed
1 changed files with 0 additions and 2 deletions
|
@ -1050,8 +1050,6 @@ new_alias_expr (type_t *type, expr_t *expr)
|
|||
{
|
||||
expr_t *alias;
|
||||
|
||||
if (expr->type == ex_value)
|
||||
return new_value_expr (alias_value (expr->e.value, type));
|
||||
alias = new_unary_expr ('A', expr);
|
||||
alias->e.expr.type = type;
|
||||
//if (expr->type == ex_uexpr && expr->e.expr.op == 'A')
|
||||
|
|
Loading…
Reference in a new issue