Parsing union

This commit is contained in:
Krzosa Karol
2023-03-29 09:34:33 +02:00
parent fa26e9d218
commit b572f4ef7c
4 changed files with 18 additions and 10 deletions

View File

@@ -135,11 +135,11 @@ value_struct_content = """
Ast_Type *type;
Ast_Decl *resolved_decl;
union {
bool bool_val;
double f64_val;
Intern_String intern_val;
bool bool_val;
double f64_val;
Intern_String intern_val;
BigInt big_int_val;
Ast_Type *type_val;
Ast_Type *type_val;
};
""".strip()
@@ -152,4 +152,3 @@ union {{
}};
}};
""".strip())