just like explicit block macros themselves.
Fixing an assertion failure jsg@ found with afl.
-.TH SH-NOARG 1 "July 30, 2014" OpenBSD
+.TH SH-NOARG 1 "December 16, 2014" OpenBSD
.SH NAME
SH-noarg \- empty header lines
.SH DESCRIPTION
.SS
.PP
text in subsection with empty name
+.SH
+.RE
+text in section with empty name
+.SS
+.RE
+text in subsection with empty name
text in section with empty name
- text in subsection with empty name
+ text in subsection with empty name text in section with empty name text
+ in subsection with empty name
-OpenBSD July 30, 2014 SH-NOARG(1)
+OpenBSD December 16, 2014 SH-NOARG(1)
mandoc: noarg.in:6:2: WARNING: line scope broken: PP breaks SH
mandoc: noarg.in:9:2: WARNING: line scope broken: PP breaks SS
+mandoc: noarg.in:12:2: WARNING: line scope broken: RE breaks SH
+mandoc: noarg.in:13:2: ERROR: skipping end of block that is not open: RE
+mandoc: noarg.in:15:2: WARNING: line scope broken: RE breaks SS
+mandoc: noarg.in:16:2: ERROR: skipping end of block that is not open: RE
-# $OpenBSD: Makefile,v 1.9 2014/07/07 21:35:42 schwarze Exp $
+# $OpenBSD: Makefile,v 1.10 2014/12/16 17:24:58 schwarze Exp $
-REGRESS_TARGETS = badarg double eof literal longhead macrotag manyargs
-REGRESS_TARGETS += sameline width
+REGRESS_TARGETS = badarg broken double eof literal longhead
+REGRESS_TARGETS += macrotag manyargs sameline width
-LINT_TARGETS = double eof
+LINT_TARGETS = broken double eof
-# groff-1.22.1 defect:
+# groff-1.22.3 defects:
+# - If .TP precedes .RE, the latter does not properly reset indentation.
# - If the last line of the file is .TP, groff does not print a page footer.
-SKIP_GROFF = eof
+SKIP_GROFF = broken eof
.include <bsd.regress.mk>
--- /dev/null
+.TH TP-BROKEN 1 "December 16, 2014" OpenBSD
+.SH NAME
+TP-broken \- broken tagged paragraph
+.SH DESCRIPTION
+regular
+text
+.RS 4n
+indented
+text
+.TP
+.RE
+regular
+text
--- /dev/null
+TP-BROKEN(1) General Commands Manual TP-BROKEN(1)
+
+
+
+N\bNA\bAM\bME\bE
+ TP-broken - broken tagged paragraph
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+ regular text
+ indented text
+ regular text
+
+
+
+OpenBSD December 16, 2014 TP-BROKEN(1)
--- /dev/null
+mandoc: broken.in:10:2: WARNING: line scope broken: RE breaks TP
-/* $OpenBSD: man_macro.c,v 1.53 2014/11/28 05:51:29 schwarze Exp $ */
+/* $OpenBSD: man_macro.c,v 1.54 2014/12/16 17:24:58 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
{ in_line_eoln, MAN_NSCOPED }, /* sp */
{ in_line_eoln, MAN_BSCOPE }, /* nf */
{ in_line_eoln, MAN_BSCOPE }, /* fi */
- { blk_close, 0 }, /* RE */
+ { blk_close, MAN_BSCOPE }, /* RE */
{ blk_exp, MAN_BSCOPE | MAN_EXPLICIT }, /* RS */
{ in_line_eoln, 0 }, /* DT */
{ in_line_eoln, 0 }, /* UC */
{ in_line_eoln, MAN_BSCOPE }, /* EX */
{ in_line_eoln, MAN_BSCOPE }, /* EE */
{ blk_exp, MAN_BSCOPE | MAN_EXPLICIT }, /* UR */
- { blk_close, 0 }, /* UE */
+ { blk_close, MAN_BSCOPE }, /* UE */
{ in_line_eoln, 0 }, /* ll */
};