mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
[util] Fix inferred binary operator type checking
The problem is that I needed to support dynamic types on operators (for bit-field enums), had things working, but a bad edit messed things up and I had to rebuild that bit of code. Missed one bit :P
This commit is contained in:
parent
f3682638d4
commit
4649294a27
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ binary_expr (int op, const exprval_t *a, const exprval_t *b,
|
|||
if (!otype) {
|
||||
otype = a->type;
|
||||
}
|
||||
if (binop->op == op && binop->other == b->type) {
|
||||
if (binop->op == op && otype == b->type) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue