diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-20 23:35:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-20 23:35:36 +0000 |
commit | ab7f2d17f8d8e211aab2a91883bc0f5358f306ac (patch) | |
tree | 426c259cb9c422368cdea3bf0ea678d5690fb94e /mdocml.c | |
parent | 9ca2c862d8cd73c34a7a1b8ceee8eb45c3115d5a (diff) | |
download | mandoc-ab7f2d17f8d8e211aab2a91883bc0f5358f306ac.tar.gz |
More flesh in terminal-encoder.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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); |