ext/libsass/src/to_value.cpp in sassc-1.8.3 vs ext/libsass/src/to_value.cpp in sassc-1.8.4
- old
+ new
@@ -1,8 +1,8 @@
+#include "sass.hpp"
#include "ast.hpp"
#include "to_value.hpp"
-#include "to_string.hpp"
namespace Sass {
Value* To_Value::fallback_impl(AST_Node* n)
{
@@ -89,21 +89,19 @@
}
// Selector_List is converted to a string
Value* To_Value::operator()(Selector_List* s)
{
- To_String to_string(&ctx);
return SASS_MEMORY_NEW(mem, String_Quoted,
s->pstate(),
- s->perform(&to_string));
+ s->to_string(ctx.c_options));
}
// Binary_Expression is converted to a string
Value* To_Value::operator()(Binary_Expression* s)
{
- To_String to_string(&ctx);
return SASS_MEMORY_NEW(mem, String_Quoted,
s->pstate(),
- s->perform(&to_string));
+ s->to_string(ctx.c_options));
}
};