aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine.c
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine.c')
-rw-r--r--forthmachine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/forthmachine.c b/forthmachine.c
index 3820dde..4532f78 100644
--- a/forthmachine.c
+++ b/forthmachine.c
@@ -45,7 +45,7 @@ static void op_exec(wordop* op, forthmachine* fm) {
static void forthmachine_exec(forthmachine* fm, char *word, int len, char* line, int* i) {
if (0 == strcmp(word, ":")) {
- defineop(fm, line, i);
+ optable_defineop(fm->ot, line, i);
return;
}
wordop* op = optable_getop(fm->ot, word);