diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-26 20:49:26 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-26 20:49:26 -0500 |
commit | 80c0fad017f2aba4ec66f32793495d6d607fb8a7 (patch) | |
tree | 10cdb2fd3b0c91fe94c9d3e8dab0be244f026b85 | |
parent | eb3ea1994428e25e4866afb0ca6ad4edfce5ae8c (diff) |
emit
-rw-r--r-- | foci.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -145,8 +145,9 @@ I(ctick, "[\']", &w_tick) FTH(tick), FTH(literal), END N(execute, "execute", &w_ctick) { pp = (intptr_t **)*sp++ - 1; NEXT; } W(decimal, "decimal", &w_execute) LIT(10), LIT(&BASE), poke, END W(hex, "hex", &w_decimal) LIT(16), LIT(&BASE), poke, END -N(dot, ".", &w_hex) ; -#define LATEST_INIT &w_dot +N(dot, ".", &w_hex) ; +N(emit, "emit", &w_dot) { foci_putchar(*sp++); NEXT; } +#define LATEST_INIT &w_emit void enter_forth(void *ptr) { |