If a stray .It follows .El, we are no longer in the list,
authorschwarze <schwarze@openbsd.org>
Sat, 16 Aug 2014 19:47:17 +0000 (19:47 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 16 Aug 2014 19:47:17 +0000 (19:47 +0000)
commit02c9cc101636db804342fba6a74b079abe7dd482
treebba3f614857cd80ec25807339eec42d68734f367
parent446eca330c1ac6ba98cbe9d5e5e9e5d0dec64b02
If a stray .It follows .El, we are no longer in the list,
even though the list is still the last processed macro.
This fixes a regression introduced in mdoc_macro.c rev. 1.95:
Ulrich Spoerlein <uqs at FreeBSD> reports that various of their
kernel manuals trigger assertions.
regress/usr.bin/mandoc/mdoc/Bl/bareIt.in
regress/usr.bin/mandoc/mdoc/Bl/bareIt.out_ascii
regress/usr.bin/mandoc/mdoc/Bl/bareIt.out_lint
usr.bin/mandoc/mdoc_macro.c