From 6e599f2ceb8ca1aee0cdb47d37aba16ac5938641 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 28 Dec 2015 11:46:33 -0800
Subject: Rename NODE_HTML -> NODE_HTML_BLOCK, NODE_INLINE_HTML ->
 NODE_HTML_INLINE.

API change.  Sorry, but this is the time to break things,
before 1.0 is released.  This matches the recent changes to
CommonMark.dtd.
---
 src/iterator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/iterator.c')

diff --git a/src/iterator.c b/src/iterator.c
index 0abc1bf..c477f01 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -7,10 +7,10 @@
 #include "iterator.h"
 
 static const int S_leaf_mask =
-    (1 << CMARK_NODE_HTML) | (1 << CMARK_NODE_THEMATIC_BREAK) |
+    (1 << CMARK_NODE_HTML_BLOCK) | (1 << CMARK_NODE_THEMATIC_BREAK) |
     (1 << CMARK_NODE_CODE_BLOCK) | (1 << CMARK_NODE_TEXT) |
     (1 << CMARK_NODE_SOFTBREAK) | (1 << CMARK_NODE_LINEBREAK) |
-    (1 << CMARK_NODE_CODE) | (1 << CMARK_NODE_INLINE_HTML);
+    (1 << CMARK_NODE_CODE) | (1 << CMARK_NODE_HTML_INLINE);
 
 cmark_iter *cmark_iter_new(cmark_node *root) {
   if (root == NULL) {
-- 
cgit v1.2.3