Trailing declaration within `{...}` does not require terminating semicolon
Although this allows for syntax that is not technically correct, it parses valid Haskell code correctly.
@@ -137,7 +137,7 @@ module.exports = grammar({
_declarations: $ => choice(
seq(
'{',
- repeat(seq($._declaration, $._terminal)),
+ repeat(seq($._declaration, optional($._terminal))),
'}'
),
seq(
