When blk_full() handles an .It line in .Bl -column and indirectly
authorschwarze <schwarze@openbsd.org>
Thu, 15 Oct 2015 22:27:09 +0000 (22:27 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 15 Oct 2015 22:27:09 +0000 (22:27 +0000)
commit1a660ec087504b8f0f9ee234b900d40de70e5e19
tree7249a3f775847a88a99b4d41f92e29a52f80ca0c
parent170afaf3a9708c91f666f7edcac2ce84f6ba38b7
When blk_full() handles an .It line in .Bl -column and indirectly
calls phrase_ta() to handle a .Ta child macro, advance the body
pointer accordingly, such that a subsequent tab character rewinds
the right body block and doesn't fail an assertion.  That happened
when there was nothing between the .Ta and the tab character.
Bug reported by tim@ some time ago.
usr.bin/mandoc/mdoc_macro.c