summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-08-08 15:42:39 +0000
committerschwarze <schwarze@openbsd.org>2014-08-08 15:42:39 +0000
commitf51747437197391f60e17078dadeb31193283a1b (patch)
tree50d4fc3879082b21c71193c8f124d124a54cc785 /usr.bin/mandoc/mdoc.c
parentRemove the useless FATAL error "argument count wrong, violates syntax". (diff)
downloadwireguard-openbsd-f51747437197391f60e17078dadeb31193283a1b.tar.xz
wireguard-openbsd-f51747437197391f60e17078dadeb31193283a1b.zip
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 bsd.lv 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 'usr.bin/mandoc/mdoc.c')
0 files changed, 0 insertions, 0 deletions