diff --git a/src/doc/grammar.md b/src/doc/grammar.md index a400e70e97d..fac488d9c4a 100644 --- a/src/doc/grammar.md +++ b/src/doc/grammar.md @@ -516,7 +516,7 @@ struct_expr : expr_path '{' ident ':' expr ### Block expressions ```antlr -block_expr : '{' [ stmt ';' | item ] * +block_expr : '{' [ stmt | item ] * [ expr ] '}' ; ```