diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-10 15:45:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-10 15:45:28 +0000 |
commit | 33be0794e265a46ae95f2b46b2d4e7d6f60e3f66 (patch) | |
tree | 5ee13f7cf5d5ada38d679d5bdc4210ad1b0e4e40 /tree.c | |
parent | 5b9da291e12f07f785311d286e2776f927683b2b (diff) | |
download | mandoc-33be0794e265a46ae95f2b46b2d4e7d6f60e3f66.tar.gz |
In -Ttree output mode, show the BROKEN node flag and
provide a -Onoval output option to show the unvalidated tree.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -192,6 +192,8 @@ print_mdoc(const struct roff_node *n, int indent) putchar(')'); if (NODE_EOS & n->flags) putchar('.'); + if (NODE_BROKEN & n->flags) + printf(" BROKEN"); if (NODE_NOSRC & n->flags) printf(" NOSRC"); if (NODE_NOPRT & n->flags) |