Skip to content

Commit 7967218

Browse files
authored
Add missing semicolon tokens to constructor and method rules.
1 parent b578801 commit 7967218

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

LANGUAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ type-decl ::= variant-decl | record-decl | flags-decl | enum-decl | ty
473473
item-type-decl ::= resource-decl | type-decl
474474
resource-decl ::= 'resource' id '{' resource-item* '}'
475475
resource-item ::= constructor | method
476-
constructor ::= 'constructor' param-list
477-
method ::= id ':' 'static'? func-type
476+
constructor ::= 'constructor' param-list ';'
477+
method ::= id ':' 'static'? func-type ';'
478478
variant-decl ::= 'variant' id '{' variant-cases '}'
479479
variant-cases ::= variant-case (',' variant-case)* ','?
480480
variant-case ::= id ('(' type ')')?

0 commit comments

Comments
 (0)