aboutsummaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authortymcauley <16469394+tymcauley@users.noreply.github.com>2019-03-28 13:48:40 -0400
committerWouter van Oortmerssen <aardappel@gmail.com>2019-03-28 10:48:40 -0700
commit8e7acae01365b4c9166c58b8bc2822a36288b850 (patch)
treed29385364364e561753646926146152a0fc81509 /docs/source
parent343bbe808e6d28708777c8a04c2a5411e69797cd (diff)
downloadflatbuffers-8e7acae01365b4c9166c58b8bc2822a36288b850.tar.gz
Update grammar to reflect required type signature for enum declarations. (#5269)
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/Grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/Grammar.md b/docs/source/Grammar.md
index 724137e4..51cc5f0c 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 `;`