Finalize union grammar

This commit is contained in:
Aleksey Kladov 2020-07-30 17:36:46 +02:00
parent 8ddbf06e39
commit 1ae4721c9c
23 changed files with 51 additions and 51 deletions

View file

@ -16,7 +16,7 @@ Item =
| StructDef
| TraitDef
| TypeAlias
| UnionDef
| Union
| Use
Module =
@ -98,7 +98,7 @@ FieldList =
RecordFieldList
| TupleFieldList
UnionDef =
Union =
Attr* Visibility? 'union' Name GenericParamList? WhereClause?
RecordFieldList
@ -455,7 +455,7 @@ MetaItem =
AdtDef =
StructDef
| EnumDef
| UnionDef
| Union
TypeRef =
ParenType