summaryrefslogtreecommitdiffstats
path: root/regress/mdoc
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
commit7d24aa6b61fc7c0a61348119c53447f5c9b1b892 (patch)
tree8a15230522126a4b7d1f5821880abdca2a1a1dc9 /regress/mdoc
parent0088ea8a5565f33b588d35efb5383d380c1dabcc (diff)
downloadmandoc-7d24aa6b61fc7c0a61348119c53447f5c9b1b892.tar.gz
Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).
Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all).
Diffstat (limited to 'regress/mdoc')
-rw-r--r--regress/mdoc/Lb/blank.in19
-rw-r--r--regress/mdoc/Lb/body.in17
-rw-r--r--regress/mdoc/Lb/custom.in19
-rw-r--r--regress/mdoc/Lb/prolog.in19
4 files changed, 74 insertions, 0 deletions
diff --git a/regress/mdoc/Lb/blank.in b/regress/mdoc/Lb/blank.in
new file mode 100644
index 00000000..bb7d7f33
--- /dev/null
+++ b/regress/mdoc/Lb/blank.in
@@ -0,0 +1,19 @@
+.\"
+.\" WARNING: THIS TEST WILL NOT WORK ON OLD GROFF.
+.\" (IT DOES NOT SUPPORT THE `Lb' MACRO.)
+.\"
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh LIBRARY
+.Lb
+.Sh DESCRIPTION
+has been optimized for use by applications expecting system scope thread
+semantics, and can provide significant performance improvements
+compared to
+.Lb
+.Sh SEE ALSO
+.Xr pthread 3
diff --git a/regress/mdoc/Lb/body.in b/regress/mdoc/Lb/body.in
new file mode 100644
index 00000000..de334acb
--- /dev/null
+++ b/regress/mdoc/Lb/body.in
@@ -0,0 +1,17 @@
+.\"
+.\" WARNING: THIS TEST WILL NOT WORK ON OLD GROFF.
+.\" (IT DOES NOT SUPPORT THE `Lb' MACRO.)
+.\"
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+has been optimized for use by applications expecting system scope thread
+semantics, and can provide significant performance improvements
+compared to
+.Lb libkse .
+.Sh SEE ALSO
+.Xr pthread 3
diff --git a/regress/mdoc/Lb/custom.in b/regress/mdoc/Lb/custom.in
new file mode 100644
index 00000000..54d9e2e2
--- /dev/null
+++ b/regress/mdoc/Lb/custom.in
@@ -0,0 +1,19 @@
+.\"
+.\" WARNING: THIS TEST WILL NOT WORK ON OLD GROFF.
+.\" (IT DOES NOT SUPPORT THE `Lb' MACRO.)
+.\"
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh LIBRARY
+.Lb xyzzy
+.Sh DESCRIPTION
+has been optimized for use by applications expecting system scope thread
+semantics, and can provide significant performance improvements
+compared to
+.Lb xyzzy
+.Sh SEE ALSO
+.Xr pthread 3
diff --git a/regress/mdoc/Lb/prolog.in b/regress/mdoc/Lb/prolog.in
new file mode 100644
index 00000000..0542b7f2
--- /dev/null
+++ b/regress/mdoc/Lb/prolog.in
@@ -0,0 +1,19 @@
+.\"
+.\" WARNING: THIS TEST WILL NOT WORK ON OLD GROFF.
+.\" (IT DOES NOT SUPPORT THE `Lb' MACRO.)
+.\"
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh LIBRARY
+.Lb libz
+.Sh DESCRIPTION
+has been optimized for use by applications expecting system scope thread
+semantics, and can provide significant performance improvements
+compared to
+.Lb libkse .
+.Sh SEE ALSO
+.Xr pthread 3