aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine.h
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine.h')
-rw-r--r--forthmachine.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/forthmachine.h b/forthmachine.h
index a3a4522..4a55952 100644
--- a/forthmachine.h
+++ b/forthmachine.h
@@ -54,6 +54,7 @@ struct wordop {
struct optable {
int len;
wordop* optable;
+ errorhandler errorhandler;
};
/**
@@ -64,7 +65,7 @@ wordop* optable_getop(optable* optable, char *word);
void optable_defineop(optable* optable, char *input, int* starti);
-optable* optable_new();
+optable* optable_new(errorhandler errorhandler);
struct forthmachine {
optable* ot;