From b98f0041a61740cb1572e30a294c19ca917a76ac Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Wed, 13 Sep 2023 17:10:53 -0400 Subject: Cats :3 --- include/zx/basic.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'include/zx') 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 #include -#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); -- cgit v1.2.3