]> git.cameronkatri.com Git - mandoc.git/blobdiff - tree.c
If a tbl(7) column contains both text cells and numeric cells,
[mandoc.git] / tree.c
diff --git a/tree.c b/tree.c
index b9774e1cd8e1ac0d8655484e5cf65296a8cd0234..416253f7ab62e3559c576049f5c67c396b753976 100644 (file)
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/*     $Id: tree.c,v 1.78 2018/04/11 17:11:13 schwarze Exp $ */
+/*     $Id: tree.c,v 1.79 2018/08/14 01:27:48 schwarze Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -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');