summaryrefslogtreecommitdiff
path: root/src/print.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-23 06:54:53 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-23 06:54:53 -0800
commit8ba087276c6cae9e1efde656ae973b4f714c88be (patch)
treebf90502882077bb8c7ea8bc041843c88c92a6526 /src/print.c
parentd929a2983db96be22277c2052ea61cd8ec7ac6f1 (diff)
Revert "Revert "Remove distinction btw atx and setext header in AST.""
This reverts commit 4570eb2bff2e1b71fa5b6408abbc69c98ff5ff24.
Diffstat (limited to 'src/print.c')
-rw-r--r--src/print.c6
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;