summaryrefslogtreecommitdiffstats
path: root/man_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-16 17:26:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-16 17:26:00 +0000
commite1c08c7914e7b1c647c0cae72d139d9915fe1576 (patch)
tree9cd33803da8339d15ea410140fe9db8d4ae66a63 /man_macro.c
parent37c273b069c3a241be5189ba702febde67d7d787 (diff)
downloadmandoc-e1c08c7914e7b1c647c0cae72d139d9915fe1576.tar.gz
Explicit block closure macros clobber next-line block head scope,
just like explicit block macros themselves. Fixing an assertion failure jsg@ found with afl.
Diffstat (limited to 'man_macro.c')
-rw-r--r--man_macro.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_macro.c b/man_macro.c
index 403b010b..2bec95bf 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -76,7 +76,7 @@ const struct man_macro __man_macros[MAN_MAX] = {
{ 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 */
@@ -88,7 +88,7 @@ const struct man_macro __man_macros[MAN_MAX] = {
{ 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 */
};