remove some direct access to stack arrays

This commit is contained in:
2021-11-15 23:25:56 +01:00
parent c2cba4c057
commit d79898fa20
3 changed files with 28 additions and 22 deletions
+1 -3
View File
@@ -7,14 +7,12 @@
#ifndef FORTH_FH_CONFIG_H
#define FORTH_FH_CONFIG_H
#define CONTROL_STACK_DEPTH 1024
#define DATA_STACK_DEPTH 1024
#define RETURN_STACK_DEPTH 1024
#define MAX_NAME_LEN 32
#define DICT_SIZE 1024
#define HEAP_SIZE (1024*1024)
#define MAXLINE 65535
#define PAD_OFFSET 340
#define PAD_OFFSET 340 // why? copied from somewhere
#define WORDBUF_SIZE 128
#define INPUT_BUFFER_SIZE 256