Skip to content

Commit 210fdff

Browse files
committed
Remove legacy workaround for parsing modulo operator
Fixes #2659
1 parent 19fd2bf commit 210fdff

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/parser.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1723,10 +1723,6 @@ namespace Sass {
17231723
if (lex< variable >())
17241724
{ return SASS_MEMORY_NEW(Variable, pstate, Util::normalize_underscores(lexed)); }
17251725

1726-
// Special case handling for `%` proceeding an interpolant.
1727-
if (lex< sequence< exactly<'%'>, optional< percentage > > >())
1728-
{ return SASS_MEMORY_NEW(String_Constant, pstate, lexed); }
1729-
17301726
css_error("Invalid CSS", " after ", ": expected expression (e.g. 1px, bold), was ");
17311727

17321728
// unreachable statement

0 commit comments

Comments
 (0)