From 4b7c178466da23d5c76308af6a06ae5de9125d84 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 11 Jun 2024 17:59:08 +0200 Subject: Remove ‘soa’ from lots of identifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/parser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/parser.h') 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 */ -- cgit v1.2.3