mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Check implicit is the same for dagged values
Not doing so results in subtle bugs such as implicit constants becoming explicit behind the programmer's back.
This commit is contained in:
parent
0137b99ae4
commit
fd836e74e1
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ edag_add_expr (const expr_t *expr)
|
|||
}
|
||||
break;
|
||||
case ex_value:
|
||||
if (e->value == expr->value) {
|
||||
if (e->value == expr->value && e->implicit == expr->implicit) {
|
||||
return e;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue