Skip to content

Commit

Permalink
Merge pull request #2173 from mgreter/bugfix/issue-2169
Browse files Browse the repository at this point in the history
Bugfix when folding multiple operands
  • Loading branch information
mgreter authored Sep 8, 2016
2 parents ce371da + 996f7de commit 1e8d1cb
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 1e8d1cb

Please # to comment.