diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-04 22:16:27 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-04 22:16:27 +0000 |
commit | 60594285aadf7b17048d8d3b552c3b12563f3622 (patch) | |
tree | 3cac3cd457e34ddd0ba29522fd90c9818cb0538d /regress | |
parent | 14deda6326abdec269681291139d0ae022db56f9 (diff) | |
download | mandoc-60594285aadf7b17048d8d3b552c3b12563f3622.tar.gz |
Fixed `Fn' newline behaviour and added some regression tests to this
extent.
Documented `Fn'. Please note the COMPATIBILITY note regarding historic
groff.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/mdoc/Fn/fn1.in | 21 | ||||
-rw-r--r-- | regress/mdoc/Fn/fn2.in | 16 |
2 files changed, 37 insertions, 0 deletions
diff --git a/regress/mdoc/Fn/fn1.in b/regress/mdoc/Fn/fn1.in new file mode 100644 index 00000000..02a17aca --- /dev/null +++ b/regress/mdoc/Fn/fn1.in @@ -0,0 +1,21 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh SYNOPSIS +1 +.In 2 +a +.Fn 3 +.Fn 4 5 6 +.Ar a Fn 4 +5 +.Sh DESCRIPTION +1 +.In 2 +.Fn 3 +.Fn 3 4 5 +.Ar a Fn 6 +4 diff --git a/regress/mdoc/Fn/fn2.in b/regress/mdoc/Fn/fn2.in new file mode 100644 index 00000000..94405bba --- /dev/null +++ b/regress/mdoc/Fn/fn2.in @@ -0,0 +1,16 @@ +.Dd $Mdocdate$ +.Dt FOO 1 +.Os +.Sh NAME +.Nm foo +.Nd bar +.Sh SYNOPSIS +.Fn 1 +.Fn "1 2" +.Fn "1 2" "3 4" +.Fn "1 2" "4" +.Sh DESCRIPTION +.Fn 1 +.Fn "1 2" +.Fn "1 2" "3 4" +.Fn "1 2" "4" |