+9
-5
lines changedFilter options
+9
-5
lines changed Original file line number Diff line number Diff line change
@@ -2448,12 +2448,16 @@ namespace Sass {
2448
2448
{
2449
2449
Supports_Condition_Ptr cond;
2450
2450
// parse something declaration like
2451
-
Declaration_Obj declaration = parse_declaration();
2452
-
if (!declaration) error("@supports condition expected declaration", pstate);
2451
+
Expression_Obj feature = parse_expression();
2452
+
Expression_Obj expression = 0;
2453
+
if (lex_css< exactly<':'> >()) {
2454
+
expression = parse_list(DELAYED);
2455
+
}
2456
+
if (!feature || !expression) error("@supports condition expected declaration", pstate);
2453
2457
cond = SASS_MEMORY_NEW(Supports_Declaration,
2454
-
declaration->pstate(),
2455
-
declaration->property(),
2456
-
declaration->value());
2458
+
feature->pstate(),
2459
+
feature,
2460
+
expression);
2457
2461
// ToDo: maybe we need an additional error condition?
2458
2462
return cond;
2459
2463
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4