From 953cd6edf07eeae011aa316e14cd7d1757afdedd Mon Sep 17 00:00:00 2001 From: dx Date: Thu, 7 May 2020 03:00:23 +0100 Subject: ~formatting --- Converter/src/compiler.c | 2 +- Converter/src/main.c | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Converter/src/compiler.c b/Converter/src/compiler.c index 042f809..9da3667 100644 --- a/Converter/src/compiler.c +++ b/Converter/src/compiler.c @@ -28,7 +28,7 @@ void compile_inner_text(string dest, string src, size_t sz_src, * lower represents the last tag character before content * upper represents the first tag character after content * - * size_of_content is self explanatory (size of content in tags) + * size_of_content is self explanatory (size of content delimited by tags) * tag_size is the compiled size of a tag * md_tag_size is the precompiled size of a tag * diff --git a/Converter/src/main.c b/Converter/src/main.c index f9c96a3..7b64749 100644 --- a/Converter/src/main.c +++ b/Converter/src/main.c @@ -11,17 +11,18 @@ int main(int argc, char *argv[]) if (strncmp(argv[1], "--test", 7) == 0) { // run tests - fputs("Running header test (how does compile_string handle # headers?)\n", stderr); + fputs("Running header test (how does compile_string handle # headers?)\n", + stderr); test_compile_line_header_depth(); } else { - string output = (compile_line(argv[1], strnlen(argv[1], 1024), "")); + string output = + (compile_line(argv[1], strnlen(argv[1], 1024), "")); puts(output); free(output); } } - else { int i; -- cgit v1.2.3-13-gbd6f