Skip to content

Commit

Permalink
Bugfix when folding multiple operands
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Sep 8, 2016
1 parent ce371da commit 996f7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2630,7 +2630,7 @@ namespace Sass {
|| (ops[0].operand == Sass_OP::LTE)
|| (ops[0].operand == Sass_OP::GTE)
)) {
Expression* rhs = fold_operands(operands[0], operands, ops, i + 1);
Expression* rhs = fold_operands(operands[i], operands, ops, i + 1);
rhs = SASS_MEMORY_NEW(ctx.mem, Binary_Expression, base->pstate(), ops[0], schema, rhs);
return rhs;
}
Expand Down

0 comments on commit 996f7de

Please # to comment.