about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/doc/grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/grammar.md b/src/doc/grammar.md
index 403922c5ed1..a400e70e97d 100644
--- a/src/doc/grammar.md
+++ b/src/doc/grammar.md
@@ -436,7 +436,7 @@ meta_seq : meta_item [ ',' meta_seq ] ? ;
 ## Statements
 
 ```antlr
-stmt : decl_stmt | expr_stmt ;
+stmt : decl_stmt | expr_stmt | ';' ;
 ```
 
 ### Declaration statements