diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-31 00:41:10 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-31 00:41:10 +0000 |
commit | 5a362245c3c1c09a5513aea71ecdde2ff478b0c9 (patch) | |
tree | 93165ee5d3a3ef112dd1503450f128b25dc91272 /read.c | |
parent | 94b5e78c3c72288a055e1760e2dcebb95873c0a0 (diff) | |
download | mandoc-5a362245c3c1c09a5513aea71ecdde2ff478b0c9.tar.gz |
In .Bl -column, if some of the column width declarations are given
right after the -column argument and some at the very end of the
argument list, after some other arguments like -compact, concatenate
the column lists.
This gets rid of one of the last useless FATAL errors
and actually shortens the code by a few lines.
This fixes an issue introduced more than five years ago, at first
causing an assert() since mdoc_action.c rev. 1.14 (June 17, 2009),
then later a FATAL error since mdoc_validate rev. 1.130 (Nov. 30, 2010),
and marked as "TODO" ever since.
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -205,7 +205,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "generic fatal error", "input too large", - "column syntax is inconsistent", "NOT IMPLEMENTED: .Bd -file", "NOT IMPLEMENTED: .so with absolute path or \"..\"", ".so request failed", |