summaryrefslogtreecommitdiff
path: root/api_test/main.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 11:46:33 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 11:46:33 -0800
commit6e599f2ceb8ca1aee0cdb47d37aba16ac5938641 (patch)
treea7c47bf8e9272a1123b42f9fb45510cdb6694627 /api_test/main.c
parent6db3cb40add3800246bee8cd051baf4243e8ae44 (diff)
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.
Diffstat (limited to 'api_test/main.c')
-rw-r--r--api_test/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/api_test/main.c b/api_test/main.c
index ffbd384..b3f4ae0 100644
--- a/api_test/main.c
+++ b/api_test/main.c
@@ -17,7 +17,7 @@ static const cmark_node_type node_types[] = {
CMARK_NODE_LIST,
CMARK_NODE_ITEM,
CMARK_NODE_CODE_BLOCK,
- CMARK_NODE_HTML,
+ CMARK_NODE_HTML_BLOCK,
CMARK_NODE_PARAGRAPH,
CMARK_NODE_HEADING,
CMARK_NODE_THEMATIC_BREAK,
@@ -25,7 +25,7 @@ static const cmark_node_type node_types[] = {
CMARK_NODE_SOFTBREAK,
CMARK_NODE_LINEBREAK,
CMARK_NODE_CODE,
- CMARK_NODE_INLINE_HTML,
+ CMARK_NODE_HTML_INLINE,
CMARK_NODE_EMPH,
CMARK_NODE_STRONG,
CMARK_NODE_LINK,
@@ -513,7 +513,7 @@ hierarchy(test_batch_runner *runner)
(1 << CMARK_NODE_BLOCK_QUOTE) |
(1 << CMARK_NODE_LIST) |
(1 << CMARK_NODE_CODE_BLOCK) |
- (1 << CMARK_NODE_HTML) |
+ (1 << CMARK_NODE_HTML_BLOCK) |
(1 << CMARK_NODE_PARAGRAPH) |
(1 << CMARK_NODE_HEADING) |
(1 << CMARK_NODE_THEMATIC_BREAK);
@@ -522,7 +522,7 @@ hierarchy(test_batch_runner *runner)
(1 << CMARK_NODE_SOFTBREAK) |
(1 << CMARK_NODE_LINEBREAK) |
(1 << CMARK_NODE_CODE) |
- (1 << CMARK_NODE_INLINE_HTML) |
+ (1 << CMARK_NODE_HTML_INLINE) |
(1 << CMARK_NODE_EMPH) |
(1 << CMARK_NODE_STRONG) |
(1 << CMARK_NODE_LINK) |
@@ -533,7 +533,7 @@ hierarchy(test_batch_runner *runner)
test_content(runner, CMARK_NODE_LIST, list_item_flag);
test_content(runner, CMARK_NODE_ITEM, top_level_blocks);
test_content(runner, CMARK_NODE_CODE_BLOCK , 0);
- test_content(runner, CMARK_NODE_HTML, 0);
+ test_content(runner, CMARK_NODE_HTML_BLOCK, 0);
test_content(runner, CMARK_NODE_PARAGRAPH, all_inlines);
test_content(runner, CMARK_NODE_HEADING, all_inlines);
test_content(runner, CMARK_NODE_THEMATIC_BREAK, 0);
@@ -541,7 +541,7 @@ hierarchy(test_batch_runner *runner)
test_content(runner, CMARK_NODE_SOFTBREAK, 0);
test_content(runner, CMARK_NODE_LINEBREAK, 0);
test_content(runner, CMARK_NODE_CODE, 0);
- test_content(runner, CMARK_NODE_INLINE_HTML, 0);
+ test_content(runner, CMARK_NODE_HTML_INLINE, 0);
test_content(runner, CMARK_NODE_EMPH, all_inlines);
test_content(runner, CMARK_NODE_STRONG, all_inlines);
test_content(runner, CMARK_NODE_LINK, all_inlines);