summaryrefslogtreecommitdiffstats
path: root/main.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 /main.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 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index bdeeac8e..16e8899e 100644
--- a/main.c
+++ b/main.c
@@ -176,9 +176,13 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"bad comment style",
"unknown escape sequence",
"unterminated quoted string",
+
+ /* related to tables */
+ "extra data cells",
"generic error",
+ /* related to tables */
"bad table syntax",
"bad table option",
"bad table layout",