google / emboss

Emboss is a tool for generating code that reads and writes binary data structures.
Apache License 2.0
68 stars 21 forks source link

Add attributes to enum values #86

Closed jasongraffius closed 1 year ago

jasongraffius commented 1 year ago

As of this change, the grammar allows attributes on enum values, either inline or indented in the body, the same as fields. Additionally, this change updates the formatter and grammar documentation to account for this change.