ext/libsass/src/environment.cpp in sassc-1.11.1 vs ext/libsass/src/environment.cpp in sassc-1.11.2
- old
+ new
@@ -177,19 +177,19 @@
if (parent_) indent = parent_->print(prefix) + 1;
std::cerr << prefix << std::string(indent, ' ') << "== " << this << std::endl;
for (typename std::map<std::string, T>::iterator i = local_frame_.begin(); i != local_frame_.end(); ++i) {
if (!ends_with(i->first, "[f]") && !ends_with(i->first, "[f]4") && !ends_with(i->first, "[f]2")) {
std::cerr << prefix << std::string(indent, ' ') << i->first << " " << i->second;
- if (Value* val = dynamic_cast<Value*>(i->second))
+ if (Value_Ptr val = SASS_MEMORY_CAST_PTR(Value, i->second))
{ std::cerr << " : " << val->to_string(); }
std::cerr << std::endl;
}
}
return indent ;
}
#endif
// compile implementation for AST_Node
- template class Environment<AST_Node*>;
+ template class Environment<AST_Node_Obj>;
}