diff options
author | 2011-07-05 04:12:41 +0000 | |
---|---|---|
committer | 2011-07-05 04:12:41 +0000 | |
commit | 296801ee6a6a39ad339acce6b906f0292a753ecf (patch) | |
tree | 74fc9ee2d05d9ad528610ed07be3e8b0caa2bbbf /usr.bin/mandoc/man_macro.c | |
parent | Add checks for sector-alignment and whole number of sectors to (diff) | |
download | wireguard-openbsd-296801ee6a6a39ad339acce6b906f0292a753ecf.tar.xz wireguard-openbsd-296801ee6a6a39ad339acce6b906f0292a753ecf.zip |
Sync to bsd.lv (all coded by kristaps@):
- mdoc(7): fix an assertion if the first line after .Bd -column
starts with a blank, and some simplifications in mdoc_argv.c
- man(7): literal mode ends at .SH and .SS (bug reported by naddy@)
- allow .RS/.RE blocks to nest (bug reported by dcoppa@ and gsoares@)
- improve vertical spacing of man(7) blocks
- roff(7): clear user-defined strings when starting a new file
- correct ID tags in -T[x]html
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r-- | usr.bin/mandoc/man_macro.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index 1cebacca44b..d3eb4e03ee0 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.29 2011/04/24 16:22:02 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.30 2011/07/05 04:12:41 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -303,11 +303,6 @@ blk_exp(MACRO_PROT_ARGS) * anywhere. */ - if ( ! rew_scope(MAN_BODY, m, tok)) - return(0); - if ( ! rew_scope(MAN_BLOCK, m, tok)) - return(0); - if ( ! man_block_alloc(m, line, ppos, tok)) return(0); if ( ! man_head_alloc(m, line, ppos, tok)) |