Skip to content

Commit

Permalink
Remove legacy workaround for parsing modulo operator
Browse files Browse the repository at this point in the history
Fixes #2659
  • Loading branch information
xzyfer committed Jun 21, 2018
1 parent 45f5087 commit df8152d
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 df8152d

Please sign in to comment.