summaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ast.h b/src/ast.h
index d97d7c7..baeaa3f 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -72,7 +72,6 @@ struct cmark_node_block {
struct cmark_node_block* children;
struct cmark_node_block* last_child;
struct cmark_node_block* parent;
- struct cmark_node_block* top;
cmark_strbuf string_content;
struct cmark_node_inl* inline_content;
@@ -82,9 +81,6 @@ struct cmark_node_block {
struct {
int level;
} header;
- struct {
- cmark_reference_map *refmap;
- } document;
} as;
struct cmark_node_block *next;
@@ -92,7 +88,8 @@ struct cmark_node_block {
};
struct cmark_doc_parser {
- struct cmark_node_block* head;
+ struct cmark_reference_map *refmap;
+ struct cmark_node_block* root;
struct cmark_node_block* current;
int line_number;
cmark_strbuf *curline;