If a block body gets broken, that's no good reason to extend the
authorschwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 21:57:50 +0000 (21:57 +0000)
committerschwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 21:57:50 +0000 (21:57 +0000)
commit6dde1e44c96d9f40dc7419d4ac93ac25bc9a8041
tree6731d76754256209ef06939af07d8ad78e4b81dd
parentf2e60d142f87cf8475f865280dbc92eca2c91a26
If a block body gets broken, that's no good reason to extend the
scope of the end macro.  Instead, only keep the tail scope open if
the end macro macro calls an explicit macro and actually breaks
that.  This corrects syntax tree structure and fixes an assertion
found by jsg@ with afl (test case 098/Apr27).
usr.bin/mandoc/mdoc_macro.c