diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-06 06:06:11 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-06 06:06:11 +0100 |
commit | 9d3bbeba91d6d821cd4ea69a7addf95274da3a2b (patch) | |
tree | 1d0813eda389d4bd92a85b78597bfee458c1fa0c /Converter | |
parent | efd866068fdee6daea6934792c9a722f290f11b2 (diff) | |
download | mdhtml-9d3bbeba91d6d821cd4ea69a7addf95274da3a2b.tar.gz mdhtml-9d3bbeba91d6d821cd4ea69a7addf95274da3a2b.tar.bz2 mdhtml-9d3bbeba91d6d821cd4ea69a7addf95274da3a2b.zip |
+condition to make main parse one command at will
Diffstat (limited to 'Converter')
-rw-r--r-- | Converter/src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Converter/src/main.c b/Converter/src/main.c index 4e65cb0..58dd1b4 100644 --- a/Converter/src/main.c +++ b/Converter/src/main.c @@ -14,5 +14,9 @@ int main(int argc, char *argv[]) fputs("Running header test (how does compile_string handle # headers?)\n", stderr); test_compile_line_header_depth(); } + else + { + puts(compile_line(argv[1], strnlen(argv[1], 1024), "<stdin>")); + } } } |