Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Set without_rule flat only when explicitly requested by at_root
Browse files Browse the repository at this point in the history
Resolves: #1890
  • Loading branch information
maxch-aa authored and xzyfer committed Dec 6, 2018
1 parent b21fb9f commit 9d027c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ namespace Sass {
if (ae) ae = ae->perform(&eval);
else ae = SASS_MEMORY_NEW(At_Root_Query, a->pstate());

LOCAL_FLAG(at_root_without_rule, true);
LOCAL_FLAG(at_root_without_rule, Cast<At_Root_Query>(ae)->exclude("rule"));
LOCAL_FLAG(in_keyframes, false);

;
Expand Down

0 comments on commit 9d027c9

Please sign in to comment.