]> git.cameronkatri.com Git - mandoc.git/blobdiff - tree.c
In URIs in apropos(1) result tables,
[mandoc.git] / tree.c
diff --git a/tree.c b/tree.c
index 9e68b69e5fb06b9aa7ea90901820daecfd2168aa..dd36ff594e53142e089c49e117db1daab68b6f72 100644 (file)
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/*     $Id: tree.c,v 1.72 2017/01/12 17:29:33 schwarze Exp $ */
+/*     $Id: tree.c,v 1.73 2017/02/10 15:45:28 schwarze Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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)