diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-04-15 00:41:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-04-15 00:41:03 +0000 |
commit | 22a9171fe5119f8cea0ab1afc0880cc498ade735 (patch) | |
tree | 4036809e7bd9cda2d3e5b7b98dad694922145c60 /regress/usr.bin/mandoc | |
parent | 95eaa6e4c674e5d558b1d1a3a7d8fe205fed0010 (diff) |
Using macros in .Sh header lines, or having .Sm off or .Bk -words open
while processing .Sh, is not at all recommended, but it's not strictly
a syntax violation either, and in any case, mandoc must not die in an
assertion. I broke this in rev. 1.124.
Crash found while trying to read the (rather broken) original 4.3BSD-Reno
od(1) manual page.
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Rs/break.in | 9 | ||||
-rw-r--r-- | regress/usr.bin/mandoc/mdoc/Rs/break.out_ascii | 7 |
2 files changed, 14 insertions, 2 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Rs/break.in b/regress/usr.bin/mandoc/mdoc/Rs/break.in index 92b462e27f3..0e8d03012a5 100644 --- a/regress/usr.bin/mandoc/mdoc/Rs/break.in +++ b/regress/usr.bin/mandoc/mdoc/Rs/break.in @@ -1,4 +1,4 @@ -.Dd October 28, 2009 +.Dd April 15, 2014 .Dt RS-BREAK 1 .Os OpenBSD .Sh NAME @@ -18,3 +18,10 @@ reference after a blank line: .%J journal .%N 42 .Re +.Sh SEE Em ALSO +reference after a blank line: +.Rs +.%A author +.%J journal +.%N 42 +.Re diff --git a/regress/usr.bin/mandoc/mdoc/Rs/break.out_ascii b/regress/usr.bin/mandoc/mdoc/Rs/break.out_ascii index 3d0c0b0ec40..4587ced7e1f 100644 --- a/regress/usr.bin/mandoc/mdoc/Rs/break.out_ascii +++ b/regress/usr.bin/mandoc/mdoc/Rs/break.out_ascii @@ -11,4 +11,9 @@ SSEEEE AALLSSOO author, _j_o_u_r_n_a_l, 42. -OpenBSD October 28, 2009 OpenBSD +SSEEEE _A_L_S_O + reference after a blank line: + + author, _j_o_u_r_n_a_l, 42. + +OpenBSD April 15, 2014 OpenBSD |