From 0c5c53459ab65228e01c72f7244633a884cbc93b Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Sun, 3 May 2026 17:44:54 +0300 Subject: [PATCH] refactor: rename ret_push to ret_push_ip in process_token --- forth_interp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forth_interp.c b/forth_interp.c index 27247a8..fe10c76 100644 --- a/forth_interp.c +++ b/forth_interp.c @@ -32,7 +32,7 @@ void process_token(const char* token) { if (w != NULL) { if (state == 0) { // Interpret mode if (w->code == do_docolon) { // Colon definition - ret_push(NULL); // Return address to stop interpreter + ret_push_ip(NULL); // Return address to stop interpreter ip = w->body; inner_interpreter(); } else { // Primitive word @@ -41,7 +41,7 @@ void process_token(const char* token) { } else { // Compile mode if (w->flags & (1 << 7)) { // Immediate word: execute now if (w->code == do_docolon) { - ret_push(NULL); + ret_push_ip(NULL); ip = w->body; inner_interpreter(); } else {