Commit 8e7acae0 authored by tymcauley's avatar tymcauley Committed by Wouter van Oortmerssen

Update grammar to reflect required type signature for enum declarations. (#5269)

parent 343bbe80
......@@ -14,7 +14,7 @@ attribute\_decl = `attribute` ident | `"`ident`"` `;`
type\_decl = ( `table` | `struct` ) ident metadata `{` field\_decl+ `}`
enum\_decl = ( `enum` ident [ `:` type ] | `union` ident ) metadata `{`
enum\_decl = ( `enum` ident `:` type | `union` ident ) metadata `{`
commasep( enumval\_decl ) `}`
root\_decl = `root_type` ident `;`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment