From 8e7acae01365b4c9166c58b8bc2822a36288b850 Mon Sep 17 00:00:00 2001 From: tymcauley <16469394+tymcauley@users.noreply.github.com> Date: Thu, 28 Mar 2019 13:48:40 -0400 Subject: [PATCH] Update grammar to reflect required type signature for enum declarations. (#5269) --- docs/source/Grammar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/Grammar.md b/docs/source/Grammar.md index 724137e41..51cc5f0c0 100644 --- a/docs/source/Grammar.md +++ b/docs/source/Grammar.md @@ -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 `;`