Remove redundant semicolon from "block_expr" in grammar reference
"stmt" already includes the terminating semicolon.
This commit is contained in:
parent
8fc73c703a
commit
7b3ea40500
1 changed files with 1 additions and 1 deletions
|
|
@ -516,7 +516,7 @@ struct_expr : expr_path '{' ident ':' expr
|
|||
### Block expressions
|
||||
|
||||
```antlr
|
||||
block_expr : '{' [ stmt ';' | item ] *
|
||||
block_expr : '{' [ stmt | item ] *
|
||||
[ expr ] '}' ;
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue