diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-12 12:47:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-12 12:47:14 +0000 |
commit | 322d2fd624ef6ec7c4eabd5929c2bff61774b5eb (patch) | |
tree | 34b02240238f7951af51c10ff14fac15a1347aac /man_macro.c | |
parent | edebea6531d23e3adebfd6cad3f50bba7f2cfb33 (diff) | |
download | mandoc-322d2fd624ef6ec7c4eabd5929c2bff61774b5eb.tar.gz |
Fix an assert() raised by `RS' when following `TP'.
The reason was that `RS' wasn't BSCOPE'd, so the next-line (BLINE) scope
opened by `TP' would still be in the HEAD macro.
This was from joerg@'s archive of failures.
Diffstat (limited to 'man_macro.c')
-rw-r--r-- | man_macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man_macro.c b/man_macro.c index 66672b2d..7ba1fca0 100644 --- a/man_macro.c +++ b/man_macro.c @@ -78,7 +78,7 @@ const struct man_macro __man_macros[MAN_MAX] = { { in_line_eoln, MAN_BSCOPE }, /* nf */ { in_line_eoln, MAN_BSCOPE }, /* fi */ { blk_close, 0 }, /* RE */ - { blk_exp, MAN_EXPLICIT }, /* RS */ + { blk_exp, MAN_BSCOPE | MAN_EXPLICIT }, /* RS */ { in_line_eoln, 0 }, /* DT */ { in_line_eoln, 0 }, /* UC */ { in_line_eoln, 0 }, /* PD */ |