aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
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;
};