Remove redundant semicolon from "block_expr" in grammar reference
"stmt" already includes the terminating semicolon.
This commit is contained in:
parent
8fc73c703a
commit
7b3ea40500
@ -516,7 +516,7 @@ struct_expr : expr_path '{' ident ':' expr
|
||||
### Block expressions
|
||||
|
||||
```antlr
|
||||
block_expr : '{' [ stmt ';' | item ] *
|
||||
block_expr : '{' [ stmt | item ] *
|
||||
[ expr ] '}' ;
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user