aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-20 14:07:26 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-20 14:26:08 -0400
commitb9a8ddea2c0b5f170e461b9216eb14f2d86588eb (patch)
treecb45901e3046b3d28823df9c85a719a38981804d /src/ast.h
parente937e3056b934c6d426abc3db8de1c99433a434b (diff)
WIP on inline enums
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 62dbff0e..2e562514 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -87,6 +87,7 @@ typedef enum {
TableTypeAST,
FunctionTypeAST,
OptionalTypeAST,
+ EnumTypeAST,
} type_ast_e;
typedef struct tag_ast_s {
@@ -128,6 +129,10 @@ struct type_ast_s {
struct {
type_ast_t *type;
} OptionalTypeAST;
+ struct {
+ Text_t name;
+ tag_ast_t *tags;
+ } EnumTypeAST;
} __data;
};