Skip to content

Commit b0077d6

Browse files
mgreterxzyfer
authored andcommitted
Allow colors in @at directives
1 parent ca89d73 commit b0077d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/parser.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2691,7 +2691,9 @@ namespace Sass {
26912691
if ((rv = lex_interp_string())) return rv;
26922692
if ((rv = lex_interp_uri())) return rv;
26932693
if ((rv = lex_interpolation())) return rv;
2694-
return rv;
2694+
if (lex< alternatives< hex, hex0 > >())
2695+
{ return lexed_hex_color(lexed); }
2696+
return rv;
26952697
}
26962698

26972699
String_Schema_Obj Parser::parse_almost_any_value()

0 commit comments

Comments
 (0)