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