Do not dereference a NULL pointer if a .Bl macro has
authorschwarze <schwarze@openbsd.org>
Tue, 19 Aug 2014 17:28:57 +0000 (17:28 +0000)
committerschwarze <schwarze@openbsd.org>
Tue, 19 Aug 2014 17:28:57 +0000 (17:28 +0000)
commitdadc3a61401b8f8bb2df584ab32d18a799c7f0ec
tree775c3551a867f2e31399d02124c6879c24df66a4
parent249c81b0f37a1442acb67f785bff3e852b470e9c
Do not dereference a NULL pointer if a .Bl macro has
no -type, -width, -offset or -compact arguments whatsoever;
this got broken in mdoc_validate.c rev. 1.156.
While here, sort headers.
regress/usr.bin/mandoc/mdoc/Bl/notype.in
regress/usr.bin/mandoc/mdoc/Bl/notype.out_ascii
regress/usr.bin/mandoc/mdoc/Bl/notype.out_lint
usr.bin/mandoc/mdoc_validate.c