diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-12 23:00:51 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-12 23:20:36 -0800 |
commit | b598b52a4acdc2332be3d34e30237d1b93b7dd03 (patch) | |
tree | 090d34e6a07d1cf6753cb297dd3704a14403660b /src/print.c | |
parent | 45f8e0a6dbafee22b5e6f5c94eca01b92b0ba0aa (diff) |
Removed CMARK_NODE_REFERENCE_DEF from API.
There's no reason to store these empty nodes in the API.
The references have already been resolved.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |