From dc689dccf1ba836ffec24d5454e69deabe8a5c4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesin=CC=81ski?= Date: Mon, 9 Jun 2014 21:26:19 +0100 Subject: [PATCH] eval is not available during expansion --- contextualize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contextualize.cpp b/contextualize.cpp index 337173d43..a0b790149 100644 --- a/contextualize.cpp +++ b/contextualize.cpp @@ -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(v->perform(eval->with(env, backtrace))); } Attribute_Selector* ss = new (ctx.mem) Attribute_Selector(*s);