From d2461482caf9e93d6e2bc7ff17567102f635211a Mon Sep 17 00:00:00 2001 From: Zuhaitz Méndez Fernández de Aránguiz Date: Sun, 11 Jan 2026 17:16:40 +0000 Subject: Fixed some things. Next thing will be tests. --- plugins/forth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/forth.c') diff --git a/plugins/forth.c b/plugins/forth.c index 9d39c6d..90e05c6 100644 --- a/plugins/forth.c +++ b/plugins/forth.c @@ -1,9 +1,9 @@ #include "zprep_plugin.h" +#include #include #include #include -#include static long stack[256]; static int sp = 0; @@ -598,7 +598,8 @@ void process_forth_source(char *src, char **out_ptr) void load_prelude() { - char prelude[] = ": squared fdup f* ; : hypot squared fswap squared f+ fsqrt ; : over swap dup " + char prelude[] = ": squared fdup f* ; : hypot squared fswap squared f+ fsqrt " + "; : over swap dup " "rot rot ; : panic 0 1 - exit ; "; char dummy_buf[1024]; dummy_buf[0] = '\0'; -- cgit v1.2.3