summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 22:27:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 22:27:08 +0000
commite42168f3c9168eabd49050d6133c5a77f19985c7 (patch)
treec2b557609ab8741e69245a09c9a586c06d5f6eee /tree.c
parent36060e6f93695c0dc996afbb3c9f53f6a825488b (diff)
downloadmandoc-e42168f3c9168eabd49050d6133c5a77f19985c7.tar.gz
Add a warning if a data cell has no layout. Also make -Ttree show this
with a little star next to the entry (yeah, this is mostly for testing).
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index ef9e8f39..02c1be43 100644
--- a/tree.c
+++ b/tree.c
@@ -278,7 +278,7 @@ print_span(const struct tbl_span *sp)
default:
break;
}
- printf("[%s]", dp->string);
+ printf("[%s%s]", dp->string, dp->layout ? "" : "*");
if (dp->next)
putchar(' ');
}