Skip to content

Commit 9ce7a7f

Browse files
committed
Fix possible bug with handling empty reference combinators
Fixes #2665
1 parent 7459d19 commit 9ce7a7f

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
@@ -1057,7 +1057,7 @@ namespace Sass {
10571057
case Complex_Selector::REFERENCE:
10581058
append_mandatory_space();
10591059
append_string("/");
1060-
c->reference()->perform(this);
1060+
if (c->reference()) c->reference()->perform(this);
10611061
append_string("/");
10621062
append_mandatory_space();
10631063
break;

0 commit comments

Comments
 (0)