Parsing union
This commit is contained in:
9
meta.py
9
meta.py
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user