diff options
author | John MacFarlane <[email protected]> | 2014-11-22 21:32:21 -0800 |
---|---|---|
committer | John MacFarlane <[email protected]> | 2014-11-22 21:32:21 -0800 |
commit | a71423f6ee1b77d9f79d42599ea00b4ca99f5da0 (patch) | |
tree | b6007b211ffbedf996a7416dbbc26f6d33006913 /src/print.c | |
parent | acac9428faa1c3193fb44b3fb0e2dd3cbdaa4ac9 (diff) |
Remove distinction btw atx and setext header in AST.
Now we just have 'header' -- Setext and ATX are just two ways
of forming these; it's not a semantic difference that should remain
in the AST.
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/print.c b/src/print.c index b1bab4b..2064276 100644 --- a/src/print.c +++ b/src/print.c @@ -132,11 +132,7 @@ static void print_blocks(cmark_node* b, int indent) } print_blocks(b->first_child, indent + 2); break; - case NODE_ATX_HEADER: - printf("atx_header (level=%d)\n", b->as.header.level); - print_inlines(b->first_child, indent + 2); - break; - case NODE_SETEXT_HEADER: + case NODE_HEADER: printf("setext_header (level=%d)\n", b->as.header.level); print_inlines(b->first_child, indent + 2); break; |