From f130b76fabb440b02c418a537074ec80489a9480 Mon Sep 17 00:00:00 2001 From: dan Date: Fri, 2 Jun 2023 23:02:50 -0400 Subject: refactor: delete unused outputbuffer and outputline, add prefix to optype enum --- forthmachine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'forthmachine.c') 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: -- cgit v1.2.3