diff --git a/src/inspect.cpp b/src/inspect.cpp index bd0389224..b56fd89aa 100644 --- a/src/inspect.cpp +++ b/src/inspect.cpp @@ -1042,7 +1042,7 @@ namespace Sass { case Complex_Selector::REFERENCE: append_mandatory_space(); append_string("/"); - c->reference()->perform(this); + if (c->reference()) c->reference()->perform(this); append_string("/"); append_mandatory_space(); break;