diff options
author | 2012-07-07 17:39:05 +0000 | |
---|---|---|
committer | 2012-07-07 17:39:05 +0000 | |
commit | 588e81c94e962dce2613e41a35bf6e80baaf2d27 (patch) | |
tree | a1e01a5177758d3b4727dd03b36a99ae9c3c685c /usr.bin/mandoc/man_macro.c | |
parent | allow httpd to build if sslv2 is disabled, ok guenther@ (diff) | |
download | wireguard-openbsd-588e81c94e962dce2613e41a35bf6e80baaf2d27.tar.xz wireguard-openbsd-588e81c94e962dce2613e41a35bf6e80baaf2d27.zip |
Fix an assert() raised by `RS' when following `TP' without a tag.
The reason was that `RS' wasn't BSCOPE'd, so the next-line (BLINE) scope
opened by `TP' would still be in the macro HEAD.
This was from joerg@'s archive of failures.
Fix by kristaps@, bsd.lv rev. 1.74.
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r-- | usr.bin/mandoc/man_macro.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index 1a3fc2ffd39..07f298c0ee9 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.36 2012/06/03 09:47:26 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.37 2012/07/07 17:39:05 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012 Ingo Schwarze <schwarze@openbsd.org> @@ -74,7 +74,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 */ |