summaryrefslogtreecommitdiff
path: root/src/node.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-12 23:00:51 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-12 23:20:36 -0800
commitb598b52a4acdc2332be3d34e30237d1b93b7dd03 (patch)
tree090d34e6a07d1cf6753cb297dd3704a14403660b /src/node.c
parent45f8e0a6dbafee22b5e6f5c94eca01b92b0ba0aa (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/node.c')
-rw-r--r--src/node.c2
1 files changed, 0 insertions, 2 deletions
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: