summaryrefslogtreecommitdiffstatshomepage
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
commitc8851c4bc15085865d2e6cb7f1434c3ad94b196e (patch)
tree506340437cda75ec06371676f916efff5a07db88
parent2909302dd9444108fb5c704bcc18c52c87ac537d (diff)
downloadmandoc-c8851c4bc15085865d2e6cb7f1434c3ad94b196e.tar.gz
mandoc-c8851c4bc15085865d2e6cb7f1434c3ad94b196e.tar.zst
mandoc-c8851c4bc15085865d2e6cb7f1434c3ad94b196e.zip
Fixed (not documented anywhere of course) that `SH' and `SS' in libman have next-line head scope.
-rw-r--r--man.76
-rw-r--r--man_macro.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/man.7 b/man.7
index f95b3a13..bec44daf 100644
--- a/man.7
+++ b/man.7
@@ -1,4 +1,4 @@
-.\" $Id: man.7,v 1.33 2009/08/20 13:32:09 kristaps Exp $
+.\" $Id: man.7,v 1.34 2009/08/20 13:51:55 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -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 7a5518b0..bc39053f 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -1,4 +1,4 @@
-/* $Id: man_macro.c,v 1.23 2009/08/20 11:51:07 kristaps Exp $ */
+/* $Id: man_macro.c,v 1.24 2009/08/20 13:51:55 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 */