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

Don't error when an @import is terminated by the end of the block #2234

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

xzyfer
Copy link
Contributor

@xzyfer xzyfer commented Dec 5, 2016

Semicolons are optional for the final declaration of a block. In this
case the } acts as the declaration's terminator. This was not being
handling correctly with @imports because they can be followed by a
media query.

Fixes #2233
Spec sass/sass-spec#982

Semicolons are optional for the final declaration of a block. In this
case the `}` acts as the declaration's terminator. This was not being
handling correctly with `@import`s because they can be followed by a
media query.

Fixes sass#2233
Spec sass/sass-spec#982
@xzyfer xzyfer added this to the 3.4 milestone Dec 5, 2016
@xzyfer xzyfer merged commit 0443d7f into sass:master Dec 5, 2016
@xzyfer xzyfer deleted the fix/issue-2233 branch December 5, 2016 12:33
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant