Skip to content
New issue

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

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

Already on GitHub? # 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 force-pushed the comment-tokenizer branch from 7969c0d to ee999d8 Compare January 28, 2017 13:39
@xzyfer xzyfer merged commit cb2cb95 into master Jan 28, 2017
@xzyfer xzyfer deleted the comment-tokenizer branch January 28, 2017 13:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant