summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc/mdoc/Fo/break.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-25 00:39:15 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-25 00:39:15 +0000
commit0998a1ee6782b30d7fc056811c148549490bf797 (patch)
treefdbaa575d9ca98fcded6cd2d2132113790ef771d /regress/usr.bin/mandoc/mdoc/Fo/break.in
parent6e99e2673b8aa7d46827a967c8ad9f84b9d9d8aa (diff)
Do not break output lines in .Fn function arguments in SYNOPSIS mode.
Following an idea from Franco Fichtner, but implemented more cleanly. This reduces groff-mandoc-differences in base by a fantastic 7.5%.
Diffstat (limited to 'regress/usr.bin/mandoc/mdoc/Fo/break.in')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Fo/break.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Fo/break.in b/regress/usr.bin/mandoc/mdoc/Fo/break.in
new file mode 100644
index 00000000000..2a5d1dcd699
--- /dev/null
+++ b/regress/usr.bin/mandoc/mdoc/Fo/break.in
@@ -0,0 +1,11 @@
+.Dd December 25, 2013
+.Dt FO-BREAK 1
+.Os OpenBSD
+.Sh NAME
+.Nm Fo-break
+.Nd line breaks in function blocks
+.Sh SYNOPSIS
+.Ft my_long_return_type *
+.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"
+.Sh DESCRIPTION
+.Fn my_long_function "my_long_type first_argument" "my_long_type second_argument"