diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-02-15 18:26:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-02-15 18:26:35 -0800 |
commit | 376f81ab8aa017ab01040e10d393d7682674562d (patch) | |
tree | c6a9c8982f76df9afcc42f3822e339701a08f3c6 /src/main.c | |
parent | 982ba5a528111dbf647e90f412498e315fcf432c (diff) |
Added options parameter to cmark_parse_document, cmark_parse_file.
Also to some non-exported functions in blocks and inlines.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,6 @@ int main(int argc, char *argv[]) _setmode(_fileno(stdout), _O_BINARY); #endif - parser = cmark_parser_new(); files = (int *)malloc(argc * sizeof(*files)); for (i = 1; i < argc; i++) { @@ -117,6 +116,7 @@ int main(int argc, char *argv[]) } } + parser = cmark_parser_new(options); for (i = 0; i < numfps; i++) { FILE *fp = fopen(argv[files[i]], "r"); if (fp == NULL) { |