This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Commit f0d71ab
committed
Don't error when an @import is terminated by the end of the block
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 #2233
Spec sass/sass-spec#9821 parent 0ff2474 commit f0d71ab
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
348 | | - | |
| 348 | + | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
0 commit comments