Skip to content

Commit

Permalink
Adjacent identifiers that start with hyphens Fixes #332
Browse files Browse the repository at this point in the history
  • Loading branch information
wonja committed Jun 7, 2014
1 parent 52fffe6 commit 32a109e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Expression*> operands;
Expand Down

0 comments on commit 32a109e

Please sign in to comment.