From 3c292cfc18741c670efc3898aa9d77eead40cecd Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Sun, 3 May 2026 22:41:11 +0300 Subject: [PATCH] fix: define missing global state variable Co-authored-by: aider (openrouter/moonshotai/kimi-k2.6) --- forth_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/forth_core.c b/forth_core.c index 954c0b9..fce46ce 100644 --- a/forth_core.c +++ b/forth_core.c @@ -14,6 +14,8 @@ Cell* ip = NULL; Word* dict_head = NULL; +int state = 0; + static Cell compile_buf_storage[FORTH_COMPILE_BUF_SIZE]; Cell *compile_buf = compile_buf_storage; int32_t compile_idx = 0;