summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-14 01:27:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-14 01:27:48 +0000
commit9d71e0cbacf0681fd313f1e52974183828949490 (patch)
treefe87d1c5e15f3fb86b6d7864197bac592e4c32a7 /tree.c
parent185b4a7b69884b16b9c646e4efc4d357b38ac66c (diff)
downloadmandoc-9d71e0cbacf0681fd313f1e52974183828949490.tar.gz
support tail arguments on the .ME and .UE macros,
used for example in the ditroff(7) manual of the groff package
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree.c b/tree.c
index 899d7c86..c0949dde 100644
--- a/tree.c
+++ b/tree.c
@@ -289,6 +289,8 @@ print_man(const struct roff_node *n, int indent)
if (NODE_LINE & n->flags)
putchar('*');
printf("%d:%d", n->line, n->pos + 1);
+ if (NODE_DELIMC & n->flags)
+ putchar(')');
if (NODE_EOS & n->flags)
putchar('.');
putchar('\n');