Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 0259be6

Browse files
author
Aaron Leung
committed
Trying a new expansion/evaluation process. Will hopefully fix some more little bugs.
1 parent f7c3321 commit 0259be6

File tree

6 files changed

+301
-280
lines changed

6 files changed

+301
-280
lines changed

document_parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ namespace Sass {
598598
semicolon = true;
599599
}
600600
else if (lex< extend >()) {
601-
if (surrounding_ruleset.is_null_ptr()) throw_syntax_error("@extend directive may only be used within rules");
601+
if (surrounding_ruleset.is_null()) throw_syntax_error("@extend directive may only be used within rules");
602602
Node extendee(parse_simple_selector_sequence());
603603
context.extensions.insert(pair<Node, Node>(extendee, surrounding_ruleset));
604604
context.has_extensions = true;

0 commit comments

Comments
 (0)