diff options
| author | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2015-04-27 22:02:16 -0400 |
|---|---|---|
| committer | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2015-04-27 22:02:16 -0400 |
| commit | d71540973618a545bc0ea98506285e1bad7bd2bb (patch) | |
| tree | 1bde726db7da7238be4cd8de669892ea6bd8f3ae /src | |
| parent | 97d4e76c20ec2e80affd100dd169155914370fd2 (diff) | |
| download | rust-d71540973618a545bc0ea98506285e1bad7bd2bb.tar.gz rust-d71540973618a545bc0ea98506285e1bad7bd2bb.zip | |
Make item sections match item EBNF
`enum_item` appeared in the `item` list but did not have an associated section; `const_item` had a section but did not appear in the list.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/grammar.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/doc/grammar.md b/src/doc/grammar.md index cceab31c61d..4b6790c763b 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -297,7 +297,7 @@ transcriber : '(' transcriber * ')' | '[' transcriber * ']' ```antlr item : mod_item | fn_item | type_item | struct_item | enum_item - | static_item | trait_item | impl_item | extern_block ; + | const_item | static_item | trait_item | impl_item | extern_block ; ``` ### Type Parameters @@ -369,6 +369,10 @@ path_item : ident | "mod" ; **FIXME:** grammar? +### Enumerations + +**FIXME:** grammar? + ### Constant items ```antlr |
