Finalize Enum grammar

This commit is contained in:
Aleksey Kladov 2020-07-30 17:57:58 +02:00
parent 1766aae145
commit 6b25f640a6

View File

@ -103,7 +103,7 @@ Enum =
VariantList
VariantList =
'{' Variant* '}'
'{' (Variant (',' Variant)* ','?)? '}'
Variant =
Attr* Visibility? Name FieldList ('=' Expr)?