aboutsummaryrefslogtreecommitdiffstats
path: root/forthmachine_optable.c
diff options
context:
space:
mode:
Diffstat (limited to 'forthmachine_optable.c')
-rw-r--r--forthmachine_optable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/forthmachine_optable.c b/forthmachine_optable.c
index 08241ed..8164d5c 100644
--- a/forthmachine_optable.c
+++ b/forthmachine_optable.c
@@ -316,7 +316,7 @@ void optable_defineop(optable* optable, char *input, int* starti) {
// get code
int wordi = 0;
char wordbuf[WORD_LEN_LIMIT];
- stack* ifcounter = stack_new();
+ stack* ifcounter = stack_new(NULL);
while (input[i] != ';' && opsi < DEFINED_FUNC_MAX_LENGTH) {
char c = input[i++];
if (notdelim(c) && wordi < WORD_LEN_LIMIT) {