Skip to content

Commit

Permalink
Merge pull request sass#903 from xzyfer/fix/greedy-not-operator
Browse files Browse the repository at this point in the history
Fix the greedy not operator
  • Loading branch information
xzyfer committed Feb 22, 2015
2 parents fc53c9c + 5eba5f0 commit 2274c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1122,7 +1122,7 @@ namespace Sass {
else if (lex< sequence< exactly<'-'>, optional_spaces_and_comments, negate< number> > >()) {
return new (ctx.mem) Unary_Expression(pstate, Unary_Expression::MINUS, parse_factor());
}
else if (lex< sequence< not_op, optional_spaces_and_comments > >()) {
else if (lex< sequence< not_op, spaces_and_comments > >()) {
return new (ctx.mem) Unary_Expression(pstate, Unary_Expression::NOT, parse_factor());
}
else {
Expand Down

0 comments on commit 2274c51

Please # to comment.