Skip to content

Commit

Permalink
Merge pull request sass#924 from mgreter/bugfix/hyphens-after-interpo…
Browse files Browse the repository at this point in the history
…lation

Fix selector parsing to allow hyphen after other tokens
  • Loading branch information
mgreter committed Mar 6, 2015
2 parents b76ea94 + b9be7b4 commit e5b604c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1904,6 +1904,7 @@ namespace Sass {
(q = peek< exactly<'~'> >(p)) ||
(q = peek< exactly<'>'> >(p)) ||
(q = peek< exactly<','> >(p)) ||
(saw_stuff && (q = peek< exactly<'-'> >(p))) ||
(q = peek< binomial >(p)) ||
(q = peek< sequence< optional<sign>,
optional<digits>,
Expand Down Expand Up @@ -1962,6 +1963,7 @@ namespace Sass {
(q = peek< exactly<'~'> >(p)) ||
(q = peek< exactly<'>'> >(p)) ||
(q = peek< exactly<','> >(p)) ||
(saw_stuff && (q = peek< exactly<'-'> >(p))) ||
(q = peek< binomial >(p)) ||
(q = peek< sequence< optional<sign>,
optional<digits>,
Expand Down

0 comments on commit e5b604c

Please sign in to comment.