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