Skip to content

Commit 0dd198e

Browse files
committed
add == for colors
1 parent c229c20 commit 0dd198e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scss.inc.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,10 @@ protected function op_color_color($op, $left, $right) {
10181018
}
10191019
$out[] = $lval / $rval;
10201020
break;
1021+
case "==":
1022+
return $this->op_eq($left, $right);
10211023
default:
1022-
$this->throwError("color: unknow op $op");
1024+
$this->throwError("color: unknown op $op");
10231025
}
10241026
}
10251027

0 commit comments

Comments
 (0)