From 08ea58d70d3ecfac3019ba438a9feb8ed51a2fda Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 28 Jan 2015 17:30:38 +0000 Subject: * 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. --- usr.bin/mandoc/read.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'usr.bin/mandoc/read.c') 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 * Copyright (c) 2010-2015 Ingo Schwarze @@ -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] = { -- cgit v1.2.3