[qfcc] Give address expressions their own type

Definitely a pain to get working after the switch, but definitely worth
the effort. Still exposing type aliasing bugs.
This commit is contained in:
Bill Currie 2022-01-08 16:52:24 +09:00
parent cf8061c4d3
commit fa482e8ee5
8 changed files with 99 additions and 45 deletions

View file

@ -115,6 +115,8 @@ is_lvalue (const expr_t *expr)
break;
case ex_alias:
return is_lvalue (expr->e.alias.expr);
case ex_address:
return 0;
case ex_uexpr:
if (expr->e.expr.op == '.') {
return 1;