diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 17:54:00 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 17:54:00 +0200 |
commit | eb83baa6fe37b9583b24d404166e4ef7b3e3b56e (patch) | |
tree | 351051a7d5d8843e822a23f0083deab8a5821d7e /src/lexer.h | |
parent | e478fe30a110cbd2ba8bd48b2642c5206364bf2c (diff) |
Be consistent with the *_t_ suffix for typedefs
Diffstat (limited to 'src/lexer.h')
-rw-r--r-- | src/lexer.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lexer.h b/src/lexer.h index 0deaa73..edd9225 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -37,12 +37,12 @@ enum { LEXRANGL_DBL = UINT8_MAX - 0, /* >> */ }; -typedef uint8_t lexeme_kind; +typedef uint8_t lexeme_kind_t_; -#define LEXEMES_SOA_BLKSZ (sizeof(lexeme_kind) + sizeof(struct strview)) +#define LEXEMES_SOA_BLKSZ (sizeof(lexeme_kind_t_) + sizeof(struct strview)) struct lexemes_soa { - lexeme_kind *kinds; + lexeme_kind_t_ *kinds; struct strview *strs; size_t len, cap; }; |