diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-20 13:51:55 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-08-20 13:51:55 +0000 |
commit | e00669b973196392c097212c7cbeb901c9760314 (patch) | |
tree | ad391a238ae820035e4e22a42f36feba5c7779e0 | |
parent | 249effff6ee7ce39e0089a50c172bd5a3fe59d2f (diff) | |
download | mandoc-e00669b973196392c097212c7cbeb901c9760314.tar.gz |
Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope.
-rw-r--r-- | man.7 | 4 | ||||
-rw-r--r-- | man_macro.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -301,8 +301,8 @@ end of file. .It PP Ta 0 Ta current Ta paragraph .It RE Ta 0 Ta current Ta none .It RS Ta 1 Ta current Ta part -.It SH Ta >0 Ta current Ta section -.It SS Ta >0 Ta current Ta sub-section +.It SH Ta >0 Ta next-line Ta section +.It SS Ta >0 Ta next-line Ta sub-section .It TP Ta n Ta next-line Ta paragraph .El . diff --git a/man_macro.c b/man_macro.c index 5839f560..09d2656f 100644 --- a/man_macro.c +++ b/man_macro.c @@ -38,8 +38,8 @@ static int rew_block(int, enum man_type, const struct man_macro __man_macros[MAN_MAX] = { { in_line_eoln, 0 }, /* br */ { in_line_eoln, 0 }, /* TH */ - { blk_imp, 0 }, /* SH */ - { blk_imp, 0 }, /* SS */ + { blk_imp, MAN_SCOPED }, /* SH */ + { blk_imp, MAN_SCOPED }, /* SS */ { blk_imp, MAN_SCOPED }, /* TP */ { blk_imp, 0 }, /* LP */ { blk_imp, 0 }, /* PP */ |