From 2a64d3f5ce24e7d735095b4e7fd3e9ddc216ef60 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 19 Oct 2024 15:16:28 -0400 Subject: [PATCH] update to ast_kinds and token kinds --- codegen/ast_kinds.hpp | 3 ++- codegen/token_kinds.csv | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/codegen/ast_kinds.hpp b/codegen/ast_kinds.hpp index 279c0c366..9afd315b7 100644 --- a/codegen/ast_kinds.hpp +++ b/codegen/ast_kinds.hpp @@ -590,7 +590,8 @@ struct StructType { isize field_count; Ast *polymorphic_params; Ast *align; - Ast *field_align; + Ast *min_field_align; + Ast *max_field_align; Token where_token; Slice where_clauses; bool is_packed; diff --git a/codegen/token_kinds.csv b/codegen/token_kinds.csv index 1d5dc1169..c1afc99d2 100644 --- a/codegen/token_kinds.csv +++ b/codegen/token_kinds.csv @@ -1,6 +1,7 @@ Invalid, "Invalid" EOF, "EOF" Comment, "Comment" +FileTag, "FileTag" _LiteralBegin, " " Ident, "identifier"