summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tree.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index 4b38111d..ee7e25dd 100644
--- a/tree.c
+++ b/tree.c
@@ -159,8 +159,11 @@ print_mdoc(const struct mdoc_node *n, int indent)
if (argv[i].sz > 0)
printf(" ]");
}
-
- printf(" %d:%d\n", n->line, n->pos);
+
+ putchar(' ');
+ if (MDOC_LINE & n->flags)
+ putchar('*');
+ printf("%d:%d\n", n->line, n->pos);
}
if (n->child)