aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine.h')
-rw-r--r--forthmachine.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/forthmachine.h b/forthmachine.h
index 28f3932..de59fc5 100644
--- a/forthmachine.h
+++ b/forthmachine.h
@@ -13,13 +13,9 @@ typedef struct optable optable;
typedef struct wordop wordop;
typedef struct forthmachine forthmachine;
-
typedef void (*stackop)(forthmachine* fm);
typedef void (*directiveop)(forthmachine* fm, int len, char* line, int* i);
-extern char* outputbuffer;
-extern int outputline;
-
typedef enum {
compileditem_stackop = 0,
compileditem_literal = 1,
@@ -38,8 +34,8 @@ typedef struct {
} compileditem;
typedef enum {
- builtin = 0,
- compiled = 1,
+ optype_builtin = 0,
+ optype_compiled = 1,
} optype;
struct wordop {