From be214b4b1cf869af86d402278fc17ce5e1f79786 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 26 Mar 2025 18:14:18 +0300 Subject: Fix infinite loop --- executor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'executor.c') diff --git a/executor.c b/executor.c index ae92315..88667f6 100644 --- a/executor.c +++ b/executor.c @@ -258,7 +258,7 @@ enum cccl_ExecutorStatus cccl_execute(struct cccl_Node *code, struct cccl_Variab p = &n; } else { - short *p = get_variable(code->value, scope); + p = get_variable(code->value, scope); if (!p) errx(1, "Cannot loop over non-existent variable %c", code->value); } -- cgit 1.4.1