rename parse to format, add header/footer
This commit is contained in:
parent
937414d915
commit
7f875458da
4
Makefile
4
Makefile
|
@ -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 $@
|
||||
|
|
|
@ -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);
|
Loading…
Reference in New Issue