mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Allow arbitrary expressions in a bool's block.
This generates correct code for "if ((x = y))": the assignment still occurs.
This commit is contained in:
parent
f6c4e06183
commit
60af059b6e
1 changed files with 3 additions and 0 deletions
|
@ -1060,6 +1060,9 @@ build_bool_block (expr_t *block, expr_t *e)
|
|||
} else if (e->e.expr.op == 'n') {
|
||||
e->next = 0;
|
||||
append_expr (block, e);
|
||||
} else {
|
||||
e->next = 0;
|
||||
append_expr (block, e);
|
||||
}
|
||||
return;
|
||||
case ex_uexpr:
|
||||
|
|
Loading…
Reference in a new issue