- Updated `module` to have all `decl`(s) (if any) followed by a `";"`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-19 11:07:36 +02:00
parent 191ac41b6c
commit 0bca21937b
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Statements are inevitably the building blocks of a program and make use
of all the former defined sections of the grammar and more of themsleves
in some cases as well.
module ::= "module", ident, ";", {decl};
module ::= "module", ident, ";", {decl, ";"};
decl ::= vdecl | funcDecl;

View File

@ -55,7 +55,7 @@ use of all the former defined sections of the grammar and more of
themsleves in some cases as well.
```
module ::= "module", ident, ";", {decl};
module ::= "module", ident, ";", {decl, ";"};
decl ::= vdecl | funcDecl;