From b598b52a4acdc2332be3d34e30237d1b93b7dd03 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 12 Dec 2014 23:00:51 -0800 Subject: 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. --- src/node.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/node.c') diff --git a/src/node.c b/src/node.c index 980229e..38f1913 100644 --- a/src/node.c +++ b/src/node.c @@ -102,7 +102,6 @@ S_type_string(cmark_node *node) case CMARK_NODE_PARAGRAPH: return "PARAGRAPH"; case CMARK_NODE_HEADER: return "HEADER"; case CMARK_NODE_HRULE: return "HRULE"; - case CMARK_NODE_REFERENCE_DEF: return "REFERENCE_DEF"; case CMARK_NODE_TEXT: return "TEXT"; case CMARK_NODE_SOFTBREAK: return "SOFTBREAK"; case CMARK_NODE_LINEBREAK: return "LINEBREAK"; @@ -774,7 +773,6 @@ int S_is_leaf_node(cmark_node *current_node) case CMARK_NODE_HTML: case CMARK_NODE_HRULE: case CMARK_NODE_CODE_BLOCK: - case CMARK_NODE_REFERENCE_DEF: case CMARK_NODE_TEXT: case CMARK_NODE_SOFTBREAK: case CMARK_NODE_LINEBREAK: -- cgit v1.2.3