The parser errors when a variable at the end of a file does not include a semicolon. It compiles with dart-sass and lib-sass which suggests omiting the final semicolon is valid (if not ideal).
$a: 1;
/// Variable with no semicolon is valid at end of file.
$b: 1
I came across this whilst generating sassdoc:

I had a go at updating the regex but no luck yet, without breaking other cases 😅