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

This commit is contained in:
tymcauley 2019-03-28 13:48:40 -04:00 committed by Wouter van Oortmerssen
parent 343bbe808e
commit 8e7acae013
1 changed files with 1 additions and 1 deletions

View File

@ -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 `;`