diff options
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h new file mode 100644 index 0000000..4bbea09 --- /dev/null +++ b/src/parser.h @@ -0,0 +1,27 @@ +#ifndef CMARK_AST_H +#define CMARK_AST_H + +#include <stdio.h> +#include "node.h" +#include "references.h" +#include "buffer.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#define MAX_LINK_LABEL_LENGTH 1000 + +struct cmark_doc_parser { + struct cmark_reference_map *refmap; + struct cmark_node* root; + struct cmark_node* current; + int line_number; + cmark_strbuf *curline; +}; + +#ifdef __cplusplus +} +#endif + +#endif |