diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-28 08:09:09 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2025-01-28 08:09:09 -0500 |
commit | c925f5620584e62e5af553bb96978d2c474196e0 (patch) | |
tree | 2ef7ef81b1759583d5c3b2171201092210e9f048 /x86/main.c | |
parent | d3046d56b9830bc924ca6a0e529ff0dbe7167614 (diff) |
add bye to x86
Diffstat (limited to 'x86/main.c')
-rw-r--r-- | x86/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -17,12 +17,16 @@ #include "foci.h" #include <stdio.h> +#include <stdlib.h> static intptr_t dict[8192]; +N(bye, "bye", LATEST_INIT) { exit(0); } + int main() { init(dict); + define(&w_bye); for (;;) { interpret(); |