mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-04-16 06:11:15 +00:00
[qfcc] Set expression associativity field
I forgot this when adding the option.
This commit is contained in:
parent
7f42677a34
commit
0974983a39
1 changed files with 3 additions and 0 deletions
|
@ -1398,6 +1398,9 @@ binary_expr (int op, const expr_t *e1, const expr_t *e2)
|
|||
if (expr_type->anticommute) {
|
||||
ne->expr.anticommute = expr_type->anticommute ();
|
||||
}
|
||||
if (expr_type->associative) {
|
||||
ne->expr.associative = expr_type->associative ();
|
||||
}
|
||||
if (is_compare (op) || is_logic (op)) {
|
||||
if (options.code.progsversion == PROG_ID_VERSION) {
|
||||
ne->expr.type = &type_float;
|
||||
|
|
Loading…
Reference in a new issue