mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +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
bf7ef354d5
commit
5747ddb77f
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