diff options
-rw-r--r-- | src/lexer.h | 6 | ||||
-rw-r--r-- | src/parser.h | 6 |
2 files changed, 6 insertions, 6 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; }; diff --git a/src/parser.h b/src/parser.h index 5398162..c2bbac0 100644 --- a/src/parser.h +++ b/src/parser.h @@ -46,13 +46,13 @@ enum { ASTBINSUB = '-', }; -typedef uint8_t ast_kind; +typedef uint8_t ast_kind_t_; #define AST_EMPTY ((idx_t_)-1) -#define AST_SOA_BLKSZ (sizeof(ast_kind) + sizeof(idx_t_) * 3) +#define AST_SOA_BLKSZ (sizeof(ast_kind_t_) + sizeof(idx_t_) * 3) struct ast_soa { - ast_kind *kinds; + ast_kind_t_ *kinds; idx_t_ *lexemes; struct { idx_t_ lhs, rhs; |