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

Commit 38f4c36

Browse files
committed
Fix possible bug with handling empty reference combinators
Fixes #2665
1 parent ea0e397 commit 38f4c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inspect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ namespace Sass {
10421042
case Complex_Selector::REFERENCE:
10431043
append_mandatory_space();
10441044
append_string("/");
1045-
c->reference()->perform(this);
1045+
if (c->reference()) c->reference()->perform(this);
10461046
append_string("/");
10471047
append_mandatory_space();
10481048
break;

0 commit comments

Comments
 (0)