Lexer forces uppercase for symbols

This commit is contained in:
2023-10-26 10:22:35 +01:00
parent 3200e97324
commit b152365561
2 changed files with 10 additions and 1 deletions

View File

@@ -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 *);