Skip to content

Commit 3db67c5

Browse files
authored
Merge pull request sass#2603 from mgreter/bugfix/issue-2360
Allow colors in `@at` directives
2 parents 87565ec + 1198007 commit 3db67c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/parser.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2703,7 +2703,9 @@ namespace Sass {
27032703
if ((rv = lex_interp_string())) return rv;
27042704
if ((rv = lex_interp_uri())) return rv;
27052705
if ((rv = lex_interpolation())) return rv;
2706-
return rv;
2706+
if (lex< alternatives< hex, hex0 > >())
2707+
{ return lexed_hex_color(lexed); }
2708+
return rv;
27072709
}
27082710

27092711
String_Schema_Obj Parser::parse_almost_any_value()

0 commit comments

Comments
 (0)