Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sassc.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ int main(int argc, char** argv) {
bool generate_source_map = false;
struct Sass_Options* options = sass_make_options();
sass_option_set_output_style(options, SASS_STYLE_NESTED);
sass_option_set_image_path(options, "images");
char *include_paths = NULL;
sass_option_set_precision(options, 5);

Expand Down
7 changes: 3 additions & 4 deletions sassloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "libsass/sass_interface.h"

int main(int argc, char** argv)
{
{
if (argc < 3) {
printf("Usage: sassloop [INPUT FILE] [ITERATIONS]\n");
return 0;
Expand All @@ -15,7 +15,6 @@ int main(int argc, char** argv)
struct sass_file_context* ctx = sass_new_file_context();
printf("*** ALLOCATED A NEW CONTEXT\n");
ctx->options.include_paths = "";
ctx->options.image_path = "images";
ctx->options.output_style = SASS_STYLE_NESTED;
ctx->input_path = argv[1];
printf("*** POPULATED THE CONTEXT\n");
Expand All @@ -31,10 +30,10 @@ int main(int argc, char** argv)
else {
printf("Unknown internal error.\n");
}

sass_free_file_context(ctx);
printf("*** DEALLOCATED THE CONTEXT\n");
sleep(1);
}
return 0;
}
}