Closed elisee closed 11 years ago
You're correct, return (and break) is handled slightly differently than other statements, and support for semicolons just wasn't there.
Anyway, it was a pretty straightforward fix, but it works for me now. Thanks for the report!
Awesome, thanks for the fix :)
The grammar doesn't allow having a semicolon after a return statement, although it should.
I suspect the fix is fairly straightforward but I'm very much unfamiliar with the grammar definition syntax so I have no idea how to allow an optional ";" token.