From 5eba5f0e4fc80f13789a916224a11fd27d00b20d Mon Sep 17 00:00:00 2001 From: xzyfer Date: Sun, 22 Feb 2015 16:36:23 +1100 Subject: [PATCH] Fix the greedy not operator --- parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.cpp b/parser.cpp index 759099977..7d632e654 100644 --- a/parser.cpp +++ b/parser.cpp @@ -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 {