diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-13 11:33:57 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-13 11:40:00 -0800 |
commit | a6a7d2f8f47df7144e636ae2875a8d2ffc0173ae (patch) | |
tree | d545fc608507a1210b8f3850515eed2448458ff3 /src/node.c | |
parent | 3bfbee921b34cf3ac4684344255a3d5b14171903 (diff) |
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.
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: |