File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1577,14 +1577,15 @@ namespace Sass {
1577
1577
class_char < selector_lookahead_ops >,
1578
1578
// match selector combinators /[>+~]/
1579
1579
class_char < selector_combinator_ops >,
1580
- // match attribute compare operators
1580
+ // match pseudo selectors
1581
1581
sequence <
1582
1582
exactly <' (' >,
1583
1583
optional_spaces,
1584
1584
optional <re_selector_list>,
1585
1585
optional_spaces,
1586
1586
exactly <' )' >
1587
1587
>,
1588
+ // match attribute compare operators
1588
1589
alternatives <
1589
1590
exact_match, class_match, dash_match,
1590
1591
prefix_match, suffix_match, substring_match
@@ -1612,7 +1613,12 @@ namespace Sass {
1612
1613
// accept hypens in token
1613
1614
one_plus < sequence <
1614
1615
// can start with hyphens
1615
- zero_plus < exactly<' -' > >,
1616
+ zero_plus <
1617
+ sequence <
1618
+ exactly <' -' >,
1619
+ optional_spaces
1620
+ >
1621
+ >,
1616
1622
// now the main token
1617
1623
alternatives <
1618
1624
kwd_optional,
You can’t perform that action at this time.
0 commit comments