mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
[qfcc] Skip recording defs for binary expressions
For now, anyway, as the generated code looks good. There might be problems with actual pointer expressions, but it allows entity.field to work as expected rather than generate an ICE.
This commit is contained in:
parent
c771bfa58c
commit
47ac7b924f
1 changed files with 2 additions and 0 deletions
|
@ -1238,6 +1238,8 @@ find_def_operand (expr_t *ref)
|
|||
expr_symbol (0, ref, &op);
|
||||
} else if (ref->type == ex_def) {
|
||||
expr_def (0, ref, &op);
|
||||
} else if (ref->type == ex_expr) {
|
||||
debug (ref, "unexpected expr type: %s", expr_names[ref->type]);
|
||||
} else {
|
||||
internal_error (ref, "unexpected expr type: %s",
|
||||
expr_names[ref->type]);
|
||||
|
|
Loading…
Reference in a new issue