diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-26 10:22:35 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-26 10:22:53 +0100 |
commit | b1523655614f91e765b674b4b7db6adf79ff403b (patch) | |
tree | 2a5db95bc8e8f68c5e7fa5b315bb08b798e481e9 /asm/lexer.h | |
parent | 3200e97324f10b2840817fffafbe4368dc3cb219 (diff) | |
download | ovm-b1523655614f91e765b674b4b7db6adf79ff403b.tar.gz ovm-b1523655614f91e765b674b4b7db6adf79ff403b.tar.bz2 ovm-b1523655614f91e765b674b4b7db6adf79ff403b.zip |
Lexer forces uppercase for symbols
Diffstat (limited to 'asm/lexer.h')
-rw-r--r-- | asm/lexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asm/lexer.h b/asm/lexer.h index b7d00c1..5e8b47b 100644 --- a/asm/lexer.h +++ b/asm/lexer.h @@ -31,6 +31,7 @@ typedef struct typedef darr_t buffer_t; typedef darr_t token_stream_t; +#define TOKEN_STREAM_AT(STREAM_DATA, INDEX) (((token_t *)(STREAM_DATA))[INDEX]) const char *token_type_as_cstr(token_type_t type); token_stream_t tokenise_buffer(buffer_t *); |