File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ namespace Sass {
78
78
extern const char webkit_calc_kwd[] = " -webkit-calc(" ;
79
79
extern const char ms_calc_kwd[] = " -ms-calc(" ;
80
80
81
+ // css selector keywords
82
+ extern const char sel_deep_kwd[] = " /deep/" ;
83
+
81
84
// css attribute-matching operators
82
85
extern const char tilde_equal[] = " ~=" ;
83
86
extern const char pipe_equal[] = " |=" ;
Original file line number Diff line number Diff line change @@ -80,6 +80,9 @@ namespace Sass {
80
80
extern const char webkit_calc_kwd[];
81
81
extern const char ms_calc_kwd[];
82
82
83
+ // css selector keywords
84
+ extern const char sel_deep_kwd[];
85
+
83
86
// css attribute-matching operators
84
87
extern const char tilde_equal[];
85
88
extern const char pipe_equal[];
Original file line number Diff line number Diff line change @@ -628,6 +628,9 @@ namespace Sass {
628
628
else if (lex< quoted_string >() || lex< number >()) {
629
629
return new (ctx.mem ) Type_Selector (pstate, unquote (lexed));
630
630
}
631
+ else if (lex< exactly < sel_deep_kwd > >()) {
632
+ return new (ctx.mem ) Type_Selector (pstate, unquote (lexed));
633
+ }
631
634
else if (peek< pseudo_not >()) {
632
635
return parse_negated_selector ();
633
636
}
@@ -1984,6 +1987,7 @@ namespace Sass {
1984
1987
(q = peek< dimension >(p)) ||
1985
1988
(q = peek< quoted_string >(p)) ||
1986
1989
(q = peek< exactly<' *' > >(p)) ||
1990
+ (q = peek< exactly<sel_deep_kwd> >(p)) ||
1987
1991
(q = peek< exactly<' (' > >(p)) ||
1988
1992
(q = peek< exactly<' )' > >(p)) ||
1989
1993
(q = peek< exactly<' [' > >(p)) ||
You can’t perform that action at this time.
0 commit comments