Skip to content

Commit

Permalink
Remove legacy workaround for parsing modulo operator
Browse files Browse the repository at this point in the history
Fixes sass#2659
  • Loading branch information
xzyfer committed Jul 3, 2018
1 parent 19fd2bf commit 210fdff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/parser.cpp
Expand Up @@ -1723,10 +1723,6 @@ namespace Sass {
if (lex< variable >())
{ return SASS_MEMORY_NEW(Variable, pstate, Util::normalize_underscores(lexed)); }

// Special case handling for `%` proceeding an interpolant.
if (lex< sequence< exactly<'%'>, optional< percentage > > >())
{ return SASS_MEMORY_NEW(String_Constant, pstate, lexed); }

css_error("Invalid CSS", " after ", ": expected expression (e.g. 1px, bold), was ");

// unreachable statement
Expand Down

0 comments on commit 210fdff

Please sign in to comment.