[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).
This commit is contained in:
Bill Currie 2025-01-18 15:24:46 +09:00
parent 3881147210
commit 2cf14e13ec

View file

@ -2808,9 +2808,9 @@ build_state_expr (const expr_t *e, rua_ctx_t *ctx)
} }
const expr_t *state_args[3] = {}; const expr_t *state_args[3] = {};
list_scatter (&e->list, state_args); 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 *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) if (think->type == ex_symbol)
think = think_expr (think->symbol, ctx); think = think_expr (think->symbol, ctx);