diff options
author | XANTRONIX Development | 2023-09-13 17:10:53 -0400 |
---|---|---|
committer | XANTRONIX Development | 2023-09-13 17:10:53 -0400 |
commit | b98f0041a61740cb1572e30a294c19ca917a76ac (patch) | |
tree | dd73a726b1c7586bb628e6987fe4fc6ffdd7749c /include | |
parent | 196ce806e2ab8abdccabfed5c809c5a35abdcf3b (diff) | |
download | zxdump-b98f0041a61740cb1572e30a294c19ca917a76ac.tar.gz zxdump-b98f0041a61740cb1572e30a294c19ca917a76ac.tar.bz2 zxdump-b98f0041a61740cb1572e30a294c19ca917a76ac.zip |
Cats :3
Diffstat (limited to 'include')
-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); |