Skip to content

Commit 7165dc7

Browse files
committed
Merge pull request #2092 from xzyfer/fix/at-root-exlude
Fix default at-root behaviour
2 parents a227821 + 93606ae commit 7165dc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ast.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ namespace Sass {
17371737
bool exclude_node(Statement* s) {
17381738
if (expression() == 0)
17391739
{
1740-
return true;
1740+
return s->statement_type() == Statement::RULESET;
17411741
}
17421742

17431743
if (s->statement_type() == Statement::DIRECTIVE)

0 commit comments

Comments
 (0)