mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Make expression alias chains not-a-bug.
The common cause seems to be casting a cast (very common, and I'm not sure just realiasing the expression would be right). It does't cause any harm (particularly, it doesn't trigger alias def chains), so I won't worry about it.
This commit is contained in:
parent
006882407d
commit
78a9ba2557
1 changed files with 2 additions and 2 deletions
|
@ -870,8 +870,8 @@ new_alias_expr (type_t *type, expr_t *expr)
|
|||
|
||||
alias = new_unary_expr ('A', expr);
|
||||
alias->e.expr.type = type;
|
||||
if (expr->type == ex_uexpr && expr->e.expr.op == 'A')
|
||||
bug (alias, "aliasing an alias expression");
|
||||
//if (expr->type == ex_uexpr && expr->e.expr.op == 'A')
|
||||
// bug (alias, "aliasing an alias expression");
|
||||
alias->file = expr->file;
|
||||
alias->line = expr->line;
|
||||
return alias;
|
||||
|
|
Loading…
Reference in a new issue