From 796721863d3390686ab4eb1f5d716c8e182562a7 Mon Sep 17 00:00:00 2001 From: Peter Huene Date: Sat, 27 Apr 2024 11:42:25 -0700 Subject: [PATCH] Add missing semicolon tokens to `constructor` and `method` rules. --- LANGUAGE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LANGUAGE.md b/LANGUAGE.md index 897c8fa..a75ba69 100644 --- a/LANGUAGE.md +++ b/LANGUAGE.md @@ -473,8 +473,8 @@ type-decl ::= variant-decl | record-decl | flags-decl | enum-decl | ty item-type-decl ::= resource-decl | type-decl resource-decl ::= 'resource' id '{' resource-item* '}' resource-item ::= constructor | method -constructor ::= 'constructor' param-list -method ::= id ':' 'static'? func-type +constructor ::= 'constructor' param-list ';' +method ::= id ':' 'static'? func-type ';' variant-decl ::= 'variant' id '{' variant-cases '}' variant-cases ::= variant-case (',' variant-case)* ','? variant-case ::= id ('(' type ')')?