diff options
Diffstat (limited to 'regress/mdoc/Nm')
-rw-r--r-- | regress/mdoc/Nm/Makefile | 2 | ||||
-rw-r--r-- | regress/mdoc/Nm/broken.in | 13 | ||||
-rw-r--r-- | regress/mdoc/Nm/broken.out_ascii | 7 | ||||
-rw-r--r-- | regress/mdoc/Nm/broken.out_lint | 2 |
4 files changed, 20 insertions, 4 deletions
diff --git a/regress/mdoc/Nm/Makefile b/regress/mdoc/Nm/Makefile index d87f43fd..2b5a5b83 100644 --- a/regress/mdoc/Nm/Makefile +++ b/regress/mdoc/Nm/Makefile @@ -4,7 +4,7 @@ REGRESS_TARGETS = badNAME badNAMEuse break broken REGRESS_TARGETS += empty emptyNAME emptyNAMEuse REGRESS_TARGETS += font long par parns punct -LINT_TARGETS = badNAME badNAMEuse break +LINT_TARGETS = badNAME badNAMEuse break broken # groff-1.22.3/mandoc differences: # - When the head of an Nm block in the SYNOPSIS is broken by an diff --git a/regress/mdoc/Nm/broken.in b/regress/mdoc/Nm/broken.in index 58a28bad..8dfd0166 100644 --- a/regress/mdoc/Nm/broken.in +++ b/regress/mdoc/Nm/broken.in @@ -1,4 +1,4 @@ -.Dd February 2, 2015 +.Dd February 11, 2017 .Dt NM-BROKEN 1 .Os OpenBSD .Sh NAME @@ -8,3 +8,14 @@ .Ft int .Fo function .Nm name Fc tail +.\" Crashed in validation before mdoc_macro.c OpenBSD rev. 1.167 +.Bl -dash +.Oo oo +.Nm nm +.Bk -words +oc +.Oc +.Ek +.It +item +.El diff --git a/regress/mdoc/Nm/broken.out_ascii b/regress/mdoc/Nm/broken.out_ascii index 1f9ed5a2..0035b888 100644 --- a/regress/mdoc/Nm/broken.out_ascii +++ b/regress/mdoc/Nm/broken.out_ascii @@ -6,6 +6,9 @@ NNAAMMEE SSYYNNOOPPSSIISS _i_n_t ffuunnccttiioonn(nnaammee); - tail + tail [oo + nnmm oc] -OpenBSD February 2, 2015 OpenBSD + -- item + +OpenBSD February 11, 2017 OpenBSD diff --git a/regress/mdoc/Nm/broken.out_lint b/regress/mdoc/Nm/broken.out_lint new file mode 100644 index 00000000..4a5eb2ae --- /dev/null +++ b/regress/mdoc/Nm/broken.out_lint @@ -0,0 +1,2 @@ +mandoc: broken.in:17:2: WARNING: blocks badly nested: Oo breaks Bk +mandoc: broken.in:13:2: WARNING: moving content out of list: Oo |