Skip to content

Commit 32a109e

Browse files
committed
Adjacent identifiers that start with hyphens Fixes sass#332
1 parent 52fffe6 commit 32a109e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parser.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,8 @@ namespace Sass {
874874
Expression* term1 = parse_term();
875875
// if it's a singleton, return it directly; don't wrap it
876876
if (!(peek< exactly<'+'> >(position) ||
877-
peek< sequence< negate< number >, exactly<'-'> > >(position)))
877+
peek< sequence< negate< number >, exactly<'-'> > >(position)) ||
878+
peek< identifier >(position))
878879
{ return term1; }
879880

880881
vector<Expression*> operands;

0 commit comments

Comments
 (0)