diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 22:53:06 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-16 22:53:06 -0800 |
commit | 43a607c5aec4bd8d10486861bf2bc627f8846753 (patch) | |
tree | 7f6b9218496b6e7d569f0503faa47e547efcb0b7 /src/ast.h | |
parent | 09c365fb0a75c9da46a1319aed1888665d6dc627 (diff) |
Moved refmap from the top-level block node to the doc_parser.
Diffstat (limited to 'src/ast.h')
-rw-r--r-- | src/ast.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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; |