aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine.c
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine.c')
-rw-r--r--forthmachine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/forthmachine.c b/forthmachine.c
index 4532f78..ba67013 100644
--- a/forthmachine.c
+++ b/forthmachine.c
@@ -16,10 +16,10 @@ forthmachine* forthmachine_new() {
static void op_exec(wordop* op, forthmachine* fm) {
switch (op->optype) {
- case builtin:
+ case optype_builtin:
op->op(fm);
break;
- case compiled:
+ case optype_compiled:
for (int j = 0; j < op->oplistlen; j++) {
switch (op->oplist[j].type) {
case compileditem_literal: