summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-20 23:35:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-20 23:35:36 +0000
commitab7f2d17f8d8e211aab2a91883bc0f5358f306ac (patch)
tree426c259cb9c422368cdea3bf0ea678d5690fb94e /mdocml.c
parent9ca2c862d8cd73c34a7a1b8ceee8eb45c3115d5a (diff)
downloadmandoc-ab7f2d17f8d8e211aab2a91883bc0f5358f306ac.tar.gz
More flesh in terminal-encoder.
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdocml.c b/mdocml.c
index 8c77b1e2..39e6bc58 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -226,6 +226,8 @@ parse_leave(struct md_parse *p, int code)
{
extern int termprint(const struct mdoc_node *,
const struct mdoc_meta *);
+ /*extern int treeprint(const struct mdoc_node *,
+ const struct mdoc_meta *);*/
if (NULL == p->mdoc)
return(code);
@@ -236,6 +238,8 @@ parse_leave(struct md_parse *p, int code)
/* TODO */
if (code && ! termprint(mdoc_node(p->mdoc), mdoc_meta(p->mdoc)))
code = 0;
+ /*if (code && ! treeprint(mdoc_node(p->mdoc), mdoc_meta(p->mdoc)))
+ code = 0;*/
mdoc_free(p->mdoc);
return(code);