ext/libsass/src/file.hpp in sassc-1.12.0 vs ext/libsass/src/file.hpp in sassc-1.12.1
- old
+ new
@@ -87,18 +87,13 @@
// a resolved include (final import)
class Include : public Importer {
public:
// resolved absolute path
std::string abs_path;
- // is a deprecated file type
- bool deprecated;
public:
- Include(const Importer& imp, std::string abs_path, bool deprecated)
- : Importer(imp), abs_path(abs_path), deprecated(deprecated)
- { }
Include(const Importer& imp, std::string abs_path)
- : Importer(imp), abs_path(abs_path), deprecated(false)
+ : Importer(imp), abs_path(abs_path)
{ }
};
// a loaded resource
class Resource {
@@ -124,14 +119,13 @@
{ }
};
namespace File {
- static std::vector<std::string> defaultExtensions = { ".scss", ".sass" };
+ static std::vector<std::string> defaultExtensions = { ".scss", ".sass", ".css" };
std::vector<Include> resolve_includes(const std::string& root, const std::string& file,
const std::vector<std::string>& exts = defaultExtensions);
-
}
}