Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when a variable at the end of a file does not include a semicolon #40

Open
notlee opened this issue Aug 12, 2019 · 0 comments
Open

Comments

@notlee
Copy link

notlee commented Aug 12, 2019

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:
Screenshot 2019-08-12 at 17 07 02

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant