From df8152d11dca573798fa5a660838fb8fbfc9d00b Mon Sep 17 00:00:00 2001 From: xzyfer Date: Thu, 21 Jun 2018 20:10:55 +1000 Subject: [PATCH] Remove legacy workaround for parsing modulo operator Fixes #2659 --- src/parser.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parser.cpp b/src/parser.cpp index dd6206217..d99636dd4 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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