diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-07 03:00:23 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-07 03:00:23 +0100 |
commit | 953cd6edf07eeae011aa316e14cd7d1757afdedd (patch) | |
tree | 8a2cb529fa38676405a896d227e49fb219448bf5 /Converter/src | |
parent | 2cffbe92b3da759147076f17d38f74870238a244 (diff) | |
download | mdhtml-953cd6edf07eeae011aa316e14cd7d1757afdedd.tar.gz mdhtml-953cd6edf07eeae011aa316e14cd7d1757afdedd.tar.bz2 mdhtml-953cd6edf07eeae011aa316e14cd7d1757afdedd.zip |
~formatting
Diffstat (limited to 'Converter/src')
-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; |