aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
blob: c1636deb8712cba11c39174d7c078c9ff3cc99e4 (plain)
  1. #ifndef CMARK_AST_H
  2. #define CMARK_AST_H
  3. #include <stdio.h>
  4. #include "config.h"
  5. #include "node.h"
  6. #include "buffer.h"
  7. #include "chunk.h"
  8. #include "cmark.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #define MAX_LINK_LABEL_LENGTH 1000
  13. struct cmark_doc_parser {
  14. struct cmark_reference_map *refmap;
  15. struct cmark_node* root;
  16. struct cmark_node* current;
  17. int line_number;
  18. cmark_strbuf *curline;
  19. };
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif