Fix misleading error message for missing semicolon

Fixes #105.
This commit is contained in:
James Westman 2023-03-28 10:09:20 -05:00
parent 7e20983b44
commit 749ee03e86
4 changed files with 9 additions and 1 deletions

View file

@ -30,7 +30,7 @@ from .binding import Binding
class Property(AstNode):
grammar = [UseIdent("name"), ":", Value, ";"]
grammar = Statement(UseIdent("name"), ":", Value)
@property
def name(self) -> str: