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

Implement proper comment tokenzing #5

Merged
merged 1 commit into from
Jan 28, 2017
Merged

Implement proper comment tokenzing #5

merged 1 commit into from
Jan 28, 2017

Conversation

xzyfer
Copy link
Member

@xzyfer xzyfer commented Jan 28, 2017

CSS style comments (/* */) are allow interpolants (#{$foo}),
and disallow everything else. In order to dodge a bunch of edge
cases I've implemented a sub-tokenizer for comments that makes all
non-interpolant or whitespace tokens as word tokens.

CSS style comments (`/* */`) are allow interpolants (`#{$foo}`),
and disallow everything else. In order to dodge a bunch of edge
cases I've implemented a sub-tokenizer for comments that makes all
non-interpolant or whitespace tokens as word tokens.
@xzyfer xzyfer merged commit cb2cb95 into master Jan 28, 2017
@xzyfer xzyfer deleted the comment-tokenizer branch January 28, 2017 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant