summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 13:51:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-08-20 13:51:55 +0000
commite00669b973196392c097212c7cbeb901c9760314 (patch)
treead391a238ae820035e4e22a42f36feba5c7779e0
parent249effff6ee7ce39e0089a50c172bd5a3fe59d2f (diff)
downloadmandoc-e00669b973196392c097212c7cbeb901c9760314.tar.gz
Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope.
-rw-r--r--man.74
-rw-r--r--man_macro.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/man.7 b/man.7
index 12eda4e7..b89edf8d 100644
--- a/man.7
+++ b/man.7
@@ -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 */