Skip to content

Commit

Permalink
Merge pull request #392 from wonja/identifiers_with_hyphens
Browse files Browse the repository at this point in the history
Adjacent identifiers that start with hyphens Fixes #332
  • Loading branch information
Aaron Leung committed Jun 8, 2014
2 parents 52fffe6 + 32a109e commit a3d3bc7
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 a3d3bc7

Please sign in to comment.