ext/libsass/src/emitter.hpp in sassc-1.8.1 vs ext/libsass/src/emitter.hpp in sassc-1.8.2

- old
+ new

@@ -1,9 +1,10 @@ #ifndef SASS_EMITTER_H #define SASS_EMITTER_H #include <string> +#include "sass/base.h" #include "source_map.hpp" #include "ast_fwd_decl.hpp" namespace Sass { class Context; @@ -23,11 +24,11 @@ // proxy methods for source maps void add_source_index(size_t idx); void set_filename(const std::string& str); void add_open_mapping(AST_Node* node); void add_close_mapping(AST_Node* node); - std::string generate_source_map(Context &ctx); + std::string render_srcmap(Context &ctx); ParserState remap(const ParserState& pstate); public: Context* ctx; size_t indentation; @@ -45,15 +46,17 @@ // nested list must not have parentheses bool in_declaration; // nested lists need parentheses bool in_space_array; bool in_comma_array; + // list separators don't get compressed in @debug + bool in_debug; public: // return buffer as std::string std::string get_buffer(void); // flush scheduled space/linefeed - Output_Style output_style(void); + Sass_Output_Style output_style(void); // add outstanding linefeed void finalize(void); // flush scheduled space/linefeed void flush_schedules(void); // prepend some text or token to the buffer