ext/libsass/src/environment.hpp in sassc-1.8.3 vs ext/libsass/src/environment.hpp in sassc-1.8.4

- old
+ new

@@ -13,16 +13,17 @@ template <typename T> class Environment { // TODO: test with map std::map<std::string, T> local_frame_; ADD_PROPERTY(Environment*, parent) + ADD_PROPERTY(bool, is_shadow) public: Memory_Manager mem; - Environment(); - Environment(Environment* env); - Environment(Environment& env); + Environment(bool is_shadow = false); + Environment(Environment* env, bool is_shadow = false); + Environment(Environment& env, bool is_shadow = false); // link parent to create a stack void link(Environment& env); void link(Environment* env); @@ -85,8 +86,9 @@ #ifdef DEBUG size_t print(std::string prefix = ""); #endif }; + } #endif