From 75877d0adf401c6d9873a08f7dd8c1a5e5dfa620 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Thu, 14 May 2015 23:43:44 +1000 Subject: [PATCH] Fix parsing of & selectors after comments --- parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.cpp b/parser.cpp index 535d5fb839..69326b35d6 100644 --- a/parser.cpp +++ b/parser.cpp @@ -636,7 +636,7 @@ namespace Sass { seq->media_block(last_media_block); seq->last_block(block_stack.back()); bool sawsomething = false; - if (lex< exactly<'&'> >()) { + if (lex_css< exactly<'&'> >()) { // check if we have a parent selector on the root level block if (block_stack.back() && block_stack.back()->is_root()) { //error("Base-level rules cannot contain the parent-selector-referencing character '&'.", pstate);