From 2cf14e13ec333c6781ff1125c9fb65c0371ace68 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 18 Jan 2025 15:24:46 +0900 Subject: [PATCH] [qfcc] Process state frame and step expressions Just a victim of the deferred processing. `think` can't be processed because it can act as a forward declaration (qc legacy). --- tools/qfcc/source/expr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qfcc/source/expr.c b/tools/qfcc/source/expr.c index b1267acdc..825bf26b0 100644 --- a/tools/qfcc/source/expr.c +++ b/tools/qfcc/source/expr.c @@ -2808,9 +2808,9 @@ build_state_expr (const expr_t *e, rua_ctx_t *ctx) } const expr_t *state_args[3] = {}; list_scatter (&e->list, state_args); - const expr_t *frame = state_args[0]; + const expr_t *frame = expr_process (state_args[0], ctx); const expr_t *think = state_args[1]; - const expr_t *step = state_args[2]; + const expr_t *step = expr_process (state_args[2], ctx); if (think->type == ex_symbol) think = think_expr (think->symbol, ctx);