Added the #maybe directive to the union struct in the AST. Also added it to the parsing code for a union.

This commit is contained in:
zhibog
2020-04-25 18:21:32 +02:00
parent f63b9806d2
commit c704de8442
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -609,6 +609,7 @@ Union_Type :: struct {
variants: []^Expr,
where_token: tokenizer.Token,
where_clauses: []^Expr,
is_maybe: bool,
}
Enum_Type :: struct {