Commit 526766a4 by Aaron Leung

Bam, interpolation on the right-hand-side of style rules.

parent df5cb4a4
...@@ -717,6 +717,13 @@ namespace Sass { ...@@ -717,6 +717,13 @@ namespace Sass {
return var; return var;
} }
if (lex< interpolant >())
{
Token insides(Token::make(lexed.begin + 2, lexed.end - 1));
Document interp(line_number, insides, context);
return interp.parse_list();
}
syntax_error("error reading values after " + lexed.to_string()); syntax_error("error reading values after " + lexed.to_string());
} }
......
$x: bar;
div {
a: blah foo#{$x};
b: 1 + 123#{4 + 5};
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment