From 32a109ecb2d88a6679414d6cd45d051c50c03d1a Mon Sep 17 00:00:00 2001 From: Wonja Fairbrother Date: Sat, 7 Jun 2014 16:54:48 -0700 Subject: [PATCH] Adjacent identifiers that start with hyphens Fixes #332 --- parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parser.cpp b/parser.cpp index 712b9c21e0..27327b8f37 100644 --- a/parser.cpp +++ b/parser.cpp @@ -874,7 +874,8 @@ namespace Sass { Expression* term1 = parse_term(); // if it's a singleton, return it directly; don't wrap it if (!(peek< exactly<'+'> >(position) || - peek< sequence< negate< number >, exactly<'-'> > >(position))) + peek< sequence< negate< number >, exactly<'-'> > >(position)) || + peek< identifier >(position)) { return term1; } vector operands;