mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
[qfcc] Prepend state epxression instead of just linking
This fixes an expression loop ICE when building for Ruamoko (not that there actually was a loop, but the test is rather simplistic).
This commit is contained in:
parent
49395b3ba1
commit
61727941fd
1 changed files with 1 additions and 2 deletions
|
@ -724,8 +724,7 @@ build_code_function (symbol_t *fsym, expr_t *state_expr, expr_t *statements)
|
|||
return 0;
|
||||
build_function (fsym);
|
||||
if (state_expr) {
|
||||
state_expr->next = statements;
|
||||
statements = state_expr;
|
||||
prepend_expr (statements, state_expr);
|
||||
}
|
||||
function_t *func = fsym->s.func;
|
||||
if (options.code.progsversion == PROG_VERSION) {
|
||||
|
|
Loading…
Reference in a new issue