Skip to content

Commit 1e62bd2

Browse files
committed
Allow bare semicolon in grammar doc, closes #28157
1 parent 107b4aa commit 1e62bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/grammar.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ meta_seq : meta_item [ ',' meta_seq ] ? ;
436436
## Statements
437437

438438
```antlr
439-
stmt : decl_stmt | expr_stmt ;
439+
stmt : decl_stmt | expr_stmt | ';' ;
440440
```
441441

442442
### Declaration statements

0 commit comments

Comments
 (0)