diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-18 20:41:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-08-18 20:41:51 +0000 |
commit | 21549eaa3cc8a6f21e0dee18153340975cf79854 (patch) | |
tree | 8d0616c181fc6c48c919f6dc38d295ccd16a29c7 /usr.bin/mandoc | |
parent | ea3d10a6518e44a322db35a4db9481fe9236e13e (diff) |
paragraphs can contain .MT and .UR blocks
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r-- | usr.bin/mandoc/man_macro.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index d3f4c66d955..564df88f208 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_macro.c,v 1.93 2018/08/18 17:32:06 schwarze Exp $ */ +/* $OpenBSD: man_macro.c,v 1.94 2018/08/18 20:41:50 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -292,7 +292,8 @@ blk_exp(MACRO_PROT_ARGS) char *p; int la; - rew_scope(man, tok); + if (tok == MAN_RS) + rew_scope(man, tok); roff_block_alloc(man, line, ppos, tok); head = roff_head_alloc(man, line, ppos, tok); |