Skip to content

Commit

Permalink
Merge pull request sass#402 from pornel/eval
Browse files Browse the repository at this point in the history
eval is not available during expansion
  • Loading branch information
Aaron Leung committed Jun 11, 2014
2 parents 95aae0c + dc689dc commit 1cdff9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contextualize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ namespace Sass {
{ return s; }

Selector* Contextualize::operator()(Attribute_Selector* s)
{
{
// the value might be interpolated; evaluate it
String* v = s->value();
if (v) {
if (v && eval) {
v = static_cast<String*>(v->perform(eval->with(env, backtrace)));
}
Attribute_Selector* ss = new (ctx.mem) Attribute_Selector(*s);
Expand Down

0 comments on commit 1cdff9c

Please sign in to comment.