Right after .Fl, a middle delimiter triggers an empty scope,
authorschwarze <schwarze@openbsd.org>
Thu, 21 Aug 2014 12:56:24 +0000 (12:56 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 21 Aug 2014 12:56:24 +0000 (12:56 +0000)
commit26c5d88adc8a57f6a3e483511d81299bb2fc86d3
tree28e046e7427b1e81d87abc896951ad2e399a1cd2
parentc18897cf0c601c1fa9862913d4e730271f53339c
Right after .Fl, a middle delimiter triggers an empty scope,
just like a closing delimiter.  This didn't work in groff-1.15,
but it now works in groff-1.22.

After being closed by delimiters, .Nm scopes do not reopen.

Do not suppress white space after .Fl if the next node is a text node
on the same input line; that can happen for middle delimiters.

Fixing an issue reported by jmc@.
17 files changed:
regress/usr.bin/mandoc/mdoc/Ar/punct.in
regress/usr.bin/mandoc/mdoc/Ar/punct.out_ascii
regress/usr.bin/mandoc/mdoc/Fl/Makefile
regress/usr.bin/mandoc/mdoc/Fl/noarg.in
regress/usr.bin/mandoc/mdoc/Fl/noarg.out_ascii
regress/usr.bin/mandoc/mdoc/Fl/punct.in
regress/usr.bin/mandoc/mdoc/Fl/punct.out_ascii
regress/usr.bin/mandoc/mdoc/Nm/Makefile
regress/usr.bin/mandoc/mdoc/Nm/punct.in [new file with mode: 0644]
regress/usr.bin/mandoc/mdoc/Nm/punct.out_ascii [new file with mode: 0644]
regress/usr.bin/mandoc/mdoc/Pa/Makefile
regress/usr.bin/mandoc/mdoc/Pa/punct.in [new file with mode: 0644]
regress/usr.bin/mandoc/mdoc/Pa/punct.out_ascii [new file with mode: 0644]
usr.bin/mandoc/mdoc_html.c
usr.bin/mandoc/mdoc_macro.c
usr.bin/mandoc/mdoc_man.c
usr.bin/mandoc/mdoc_term.c