diff options
Diffstat (limited to 'include/zx')
-rw-r--r-- | include/zx/basic.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/include/zx/basic.h b/include/zx/basic.h index 973923c..71c41fb 100644 --- a/include/zx/basic.h +++ b/include/zx/basic.h @@ -5,8 +5,8 @@ #include <stdlib.h> #include <inttypes.h> -#define ZX_BASIC_STATE_SIZE 116 -#define ZX_BASIC_LINE_LAST 0x7676 +#define ZX81_BASIC_STATE_SIZE 116 +#define ZX81_BASIC_LINE_LAST 0x7676 extern char *zx81_basic_tokens_low[3]; @@ -17,11 +17,13 @@ typedef struct _zx_basic_line { } zx_basic_line; enum zx_basic_token_type { - ZX_BASIC_TOKEN_UNKNOWN, - ZX_BASIC_TOKEN_ALNUM, - ZX_BASIC_TOKEN_QUOTE, - ZX_BASIC_TOKEN_SYMBOL, - ZX_BASIC_TOKEN_WORD, + ZX81_BASIC_TOKEN_UNKNOWN, + ZX81_BASIC_TOKEN_ALNUM, + ZX81_BASIC_TOKEN_PAREN_OPEN, + ZX81_BASIC_TOKEN_PAREN_CLOSE, + ZX81_BASIC_TOKEN_QUOTE, + ZX81_BASIC_TOKEN_SYMBOL, + ZX81_BASIC_TOKEN_WORD, }; ssize_t zx81_basic_dump(int fd, FILE *stream); |