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 @@ -1600,14 +1600,15 @@ namespace Sass {
1600
1600
class_char < selector_lookahead_ops >,
1601
1601
// match selector combinators /[>+~]/
1602
1602
class_char < selector_combinator_ops >,
1603
- // match attribute compare operators
1603
+ // match pseudo selectors
1604
1604
sequence <
1605
1605
exactly <' (' >,
1606
1606
optional_spaces,
1607
1607
optional <re_selector_list>,
1608
1608
optional_spaces,
1609
1609
exactly <' )' >
1610
1610
>,
1611
+ // match attribute compare operators
1611
1612
alternatives <
1612
1613
exact_match, class_match, dash_match,
1613
1614
prefix_match, suffix_match, substring_match
@@ -1635,7 +1636,12 @@ namespace Sass {
1635
1636
// accept hypens in token
1636
1637
one_plus < sequence <
1637
1638
// can start with hyphens
1638
- zero_plus < exactly<' -' > >,
1639
+ zero_plus <
1640
+ sequence <
1641
+ exactly <' -' >,
1642
+ optional_spaces
1643
+ >
1644
+ >,
1639
1645
// now the main token
1640
1646
alternatives <
1641
1647
kwd_optional,
You can’t perform that action at this time.
0 commit comments