diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-29 17:05:00 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-11-29 17:16:31 +0100 |
commit | 46ec4da981af45591d25cb54c47a0afd061306c2 (patch) | |
tree | eb1f9078be2db3db72a1d85804477f6255dc3baf /src/parser.h | |
parent | ad8b39e550f2ff9a8b8e409d1654fc26135dc9fa (diff) |
Push parser interface
Replace cmark_parser_process_line with cmark_parser_push that takes
arbitrary chunks of data. Also fixes #211.
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h index e0ed507..9d65b67 100644 --- a/src/parser.h +++ b/src/parser.h @@ -17,6 +17,7 @@ struct cmark_parser { struct cmark_node* current; int line_number; cmark_strbuf *curline; + cmark_strbuf *linebuf; }; #ifdef __cplusplus |