diff options
Diffstat (limited to 'Converter')
-rw-r--r-- | Converter/src/compiler.c | 2 | ||||
-rw-r--r-- | 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), "<stdin>")); + string output = + (compile_line(argv[1], strnlen(argv[1], 1024), "<stdin>")); puts(output); free(output); } } - else { int i; |