aboutsummaryrefslogtreecommitdiffstats
path: root/x86/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'x86/main.c')
-rw-r--r--x86/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/x86/main.c b/x86/main.c
index 1415cc2..fe4692a 100644
--- a/x86/main.c
+++ b/x86/main.c
@@ -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();