Skip to content

Commit edb10a8

Browse files
committed
Enable url parsing for url-prefix keyword
1 parent 512d477 commit edb10a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/parser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,8 @@ namespace Sass {
17291729
std::string name(lexed);
17301730

17311731
ParserState call_pos = pstate;
1732-
Arguments* args = parse_arguments(name == "url");
1732+
bool expect_url = name == "url" || name == "url-prefix";
1733+
Arguments* args = parse_arguments(expect_url);
17331734
return new (ctx.mem) Function_Call(call_pos, name, args);
17341735
}
17351736

0 commit comments

Comments
 (0)