summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-28 17:30:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-28 17:30:38 +0000
commit08ea58d70d3ecfac3019ba438a9feb8ed51a2fda (patch)
tree21b9d24eafa6de1091ebe06887e2274d9adb1d8b /usr.bin/mandoc/read.c
parentea0b68b3e7b142842ab6697c59f4c5fcd69a8ded (diff)
* Polish tbl(7) error reporting.
* Do not print out macro names in tbl(7) data blocks. * Like with GNU tbl, let empty tables cause a blank line. * Avoid producing empty tables in -Tman.
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 18e25e9e87c..efe7b8784bc 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.93 2015/01/26 18:41:45 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.94 2015/01/28 17:30:37 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -187,10 +187,10 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"empty tbl layout",
"invalid character in tbl layout",
"unmatched parenthesis in tbl layout",
- "no table data cells specified",
- "ignore data in cell",
- "data block still open",
- "ignoring extra data cells",
+ "tbl without any data cells",
+ "ignoring data in spanned tbl cell",
+ "ignoring extra tbl data cells",
+ "data block open at end of tbl",
/* related to document structure and macros */
NULL,
@@ -224,9 +224,9 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"input too large",
"unsupported control character",
"unsupported roff request",
+ "eqn delim option in tbl",
"unsupported tbl layout modifier",
"ignoring macro in table",
- "eqn in tbl",
};
static const char * const mandoclevels[MANDOCLEVEL_MAX] = {