File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -822,7 +822,7 @@ namespace Sass {
822
822
error (msg, pstate, backtrace);
823
823
}
824
824
catch (...) { throw ; }
825
- // return something even if we had an error (-1)
825
+ // handle any invalid utf8 errors
826
826
return new (ctx.mem ) Number (pstate, len);
827
827
}
828
828
@@ -913,7 +913,7 @@ namespace Sass {
913
913
error (msg, pstate, backtrace);
914
914
}
915
915
catch (...) { throw ; }
916
- // return something even if we had an error (-1)
916
+ // handle any invalid utf8 errors
917
917
return new (ctx.mem ) Number (pstate, index);
918
918
}
919
919
@@ -1389,9 +1389,6 @@ namespace Sass {
1389
1389
if (v->concrete_type () == Expression::STRING) {
1390
1390
To_String to_string (&ctx);
1391
1391
string str (v->perform (&to_string));
1392
- if (ctx.names_to_colors .count (str)) {
1393
- return new (ctx.mem ) String_Constant (pstate, " color" );
1394
- }
1395
1392
}
1396
1393
return new (ctx.mem ) String_Constant (pstate, ARG (" $value" , Expression)->type ());
1397
1394
}
You can’t perform that action at this time.
0 commit comments