ext/libsass/src/emitter.hpp in sassc-1.11.1 vs ext/libsass/src/emitter.hpp in sassc-1.11.2

- old
+ new

@@ -23,23 +23,23 @@ const SourceMap smap(void) { return wbuf.smap; } const OutputBuffer output(void) { return wbuf; } // proxy methods for source maps void add_source_index(size_t idx); void set_filename(const std::string& str); - void add_open_mapping(const AST_Node* node); - void add_close_mapping(const AST_Node* node); - void schedule_mapping(const AST_Node* node); + void add_open_mapping(const AST_Node_Ptr node); + void add_close_mapping(const AST_Node_Ptr node); + void schedule_mapping(const AST_Node_Ptr node); std::string render_srcmap(Context &ctx); ParserState remap(const ParserState& pstate); public: struct Sass_Output_Options& opt; size_t indentation; size_t scheduled_space; size_t scheduled_linefeed; bool scheduled_delimiter; - const AST_Node* scheduled_mapping; + AST_Node_Ptr scheduled_mapping; public: // output strings different in comments bool in_comment; // selector list does not get linefeeds @@ -68,20 +68,20 @@ void append_string(const std::string& text); // append some white-space only text void append_wspace(const std::string& text); // append some text or token to the buffer // this adds source-mappings for node start and end - void append_token(const std::string& text, const AST_Node* node); + void append_token(const std::string& text, const AST_Node_Ptr node); public: // syntax sugar void append_indentation(); void append_optional_space(void); void append_mandatory_space(void); void append_special_linefeed(void); void append_optional_linefeed(void); void append_mandatory_linefeed(void); - void append_scope_opener(AST_Node* node = 0); - void append_scope_closer(AST_Node* node = 0); + void append_scope_opener(AST_Node_Ptr node = 0); + void append_scope_closer(AST_Node_Ptr node = 0); void append_comma_separator(void); void append_colon_separator(void); void append_delimiter(void); };