From c4ccba9b57f8ab0eee60a4f762af91e35762b756 Mon Sep 17 00:00:00 2001 From: Max Cherniavskyi Date: Mon, 3 Dec 2018 13:01:05 +0000 Subject: [PATCH] Disallow optional pseudo_prefix Resolves: #1079 --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.cpp b/src/parser.cpp index 04b3d3e07..c4ee0883f 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -929,7 +929,7 @@ namespace Sass { // it can contain more selectors inside parentheses Simple_Selector_Obj Parser::parse_pseudo_selector() { if (lex< sequence< - optional < pseudo_prefix >, + pseudo_prefix, // we keep the space within the name, strange enough // ToDo: refactor output to schedule the space for it // or do we really want to keep the real white-space?