diff options
author | dan <[email protected]> | 2023-06-02 23:02:50 -0400 |
---|---|---|
committer | dan <[email protected]> | 2023-06-02 23:02:50 -0400 |
commit | f130b76fabb440b02c418a537074ec80489a9480 (patch) | |
tree | 4f462a847c24e62111e880fa330dcebab4bde3dc /forthmachine.c | |
parent | b6f1237fb2dd391c399b6c6d294a80d969b9dbfa (diff) | |
download | forth-f130b76fabb440b02c418a537074ec80489a9480.tar.gz forth-f130b76fabb440b02c418a537074ec80489a9480.tar.bz2 forth-f130b76fabb440b02c418a537074ec80489a9480.zip |
refactor: delete unused outputbuffer and outputline, add prefix to optype enum
Diffstat (limited to 'forthmachine.c')
-rw-r--r-- | forthmachine.c | 4 |
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: |