From a6a7d2f8f47df7144e636ae2875a8d2ffc0173ae Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 13 Dec 2014 11:33:57 -0800 Subject: Remove CMARK_NODE_REFERENCE_DEF from API. Modified finalize in blocks.c to return parent of finalized block, so we can handle the case of reference definitions, when we simply remove the finalized block. --- src/print.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/print.c') diff --git a/src/print.c b/src/print.c index d2dfe8c..9384a0b 100644 --- a/src/print.c +++ b/src/print.c @@ -88,10 +88,6 @@ static void render_nodes(strbuf* buffer, cmark_node* node, int indent) print_str(buffer, node->string_content.ptr, -1); strbuf_putc(buffer, '\n'); break; - case NODE_REFERENCE_DEF: - // skip - // strbuf_printf(buffer, "reference_def\n"); - break; case NODE_TEXT: strbuf_printf(buffer, "text "); print_str(buffer, node->as.literal.data, node->as.literal.len); -- cgit v1.2.3