aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-28 17:32:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-28 17:32:07 +0000
commit67cfc20e20f4c603c852ddf5c88024ce0d8d628c (patch)
tree5e3c7114721eba342929a649511dbf5a94439d6c /read.c
parent7793230177d864fb80c0c572a2b896f3ecb7df10 (diff)
downloadmandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.tar.gz
mandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.tar.zst
mandoc-67cfc20e20f4c603c852ddf5c88024ce0d8d628c.zip
* 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 'read.c')
-rw-r--r--read.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/read.c b/read.c
index 7d36778e..0cdb0a03 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.118 2015/01/26 18:42:30 schwarze Exp $ */
+/* $Id: read.c,v 1.119 2015/01/28 17:32:07 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -192,10 +192,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,
@@ -229,9 +229,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] = {