diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 17:59:08 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-06-11 17:59:08 +0200 |
commit | 4b7c178466da23d5c76308af6a06ae5de9125d84 (patch) | |
tree | 661bca11cdaad42fcab8b2524474ff6cb24f35b6 /src/parser.h | |
parent | eb83baa6fe37b9583b24d404166e4ef7b3e3b56e (diff) |
Remove ‘soa’ from lots of identifiers
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.h b/src/parser.h index c2bbac0..4fcdacd 100644 --- a/src/parser.h +++ b/src/parser.h @@ -51,7 +51,7 @@ typedef uint8_t ast_kind_t_; #define AST_EMPTY ((idx_t_)-1) #define AST_SOA_BLKSZ (sizeof(ast_kind_t_) + sizeof(idx_t_) * 3) -struct ast_soa { +struct ast { ast_kind_t_ *kinds; idx_t_ *lexemes; struct { @@ -63,6 +63,6 @@ struct ast_soa { #define ast_free(x) free((x).kinds) /* Parse the tokens in TOKS into an abstract syntax tree */ -struct ast_soa parsetoks(struct lexemes_soa toks); +struct ast parsetoks(struct lexemes toks); #endif /* !ORYX_PARSER_H */ |