rename parse to format, add header/footer

This commit is contained in:
opFez 2021-07-30 16:58:26 +02:00
parent 937414d915
commit 7f875458da
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
CC = clang
CFLAGS = -Wall -Wextra -Werror -std=c99 -pedantic-errors -g
CFLAGS = -Wall -Wextra -Werror -std=c99 -pedantic-errors
parser: parser.c
format: format.c
$(CC) $(CFLAGS) $< -o $@

View File

@ -236,9 +236,9 @@ main(int argc, char *argv[])
sprintf(out_name, "%s.html", bn);
FILE *out = fopen(out_name, "w");
/* write_header(out); */
write_header(out);
format(in_collapsed, out);
/* write_footer(out); */
write_footer(out);
fclose(in_initial);
fclose(out);