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/node.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/node.c')
-rw-r--r-- | src/node.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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: |