We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e83064c + 3ca32a7 commit 859aad3Copy full SHA for 859aad3
src/parser.cpp
@@ -1029,7 +1029,7 @@ namespace Sass {
1029
if (peek_css< exactly<')'> >(position))
1030
{ break; }
1031
1032
- Expression* key = parse_list();
+ Expression* key = parse_space_list();
1033
if (String_Quoted* str = dynamic_cast<String_Quoted*>(key)) {
1034
if (!str->quote_mark() && !str->is_delayed()) {
1035
if (const Color* col = name_to_color(str->value())) {
@@ -1042,7 +1042,7 @@ namespace Sass {
1042
}
1043
1044
if (!(lex< exactly<':'> >()))
1045
- { error("invalid syntax", pstate); }
+ { css_error("Invalid CSS", " after ", ": expected \":\", was "); }
1046
1047
Expression* value = parse_space_list();
1048
0 commit comments