aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Bl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Bl')
-rw-r--r--regress/mdoc/Bl/Makefile11
-rw-r--r--regress/mdoc/Bl/breakingTa.in14
-rw-r--r--regress/mdoc/Bl/breakingTa.out_ascii12
3 files changed, 34 insertions, 3 deletions
diff --git a/regress/mdoc/Bl/Makefile b/regress/mdoc/Bl/Makefile
index 3d21a8be..c8c9b3c9 100644
--- a/regress/mdoc/Bl/Makefile
+++ b/regress/mdoc/Bl/Makefile
@@ -5,7 +5,7 @@ REGRESS_TARGETS += column colNoIt extend nested offset secstart
REGRESS_TARGETS += notype multitype badargs
REGRESS_TARGETS += empty noIt emptyhead emptytag emptyitem multitag
-REGRESS_TARGETS += bareIt bareTa unclosed break breakingIt broken
+REGRESS_TARGETS += bareIt bareTa unclosed break breakingIt breakingTa broken
UTF8_TARGETS = dash
@@ -13,6 +13,11 @@ LINT_TARGETS = column notype badargs tag
LINT_TARGETS += empty noIt emptyhead emptytag emptyitem
LINT_TARGETS += bareIt bareTa break breakingIt broken
+# groff-mandoc differences:
+# - groff allows enclosures to span Ta, mandoc does not
+
+SKIP_GROFF ?= breakingTa
+
# groff-1.22.3 defects:
# - lists with missing or late type ruin indentation
# - empty lists ruin indentation and sometimes cause empty lines
@@ -21,9 +26,9 @@ LINT_TARGETS += bareIt bareTa break breakingIt broken
# - breaking a list aborts processing
# - empty -tag item heads lose the blank line and the indentation
-SKIP_GROFF ?= notype empty break breakingIt broken emptytag
+SKIP_GROFF += notype empty break breakingIt broken emptytag
-SKIP_TMAN ?= column colNoIt multitype multitag bareTa break broken
+SKIP_TMAN ?= column colNoIt multitype multitag bareTa break breakingTa broken
# Fixing the indentation in long .IP and .TP tags in -man -Tascii
# caused a minor regression in -Tman that is not trivial to fix,
diff --git a/regress/mdoc/Bl/breakingTa.in b/regress/mdoc/Bl/breakingTa.in
new file mode 100644
index 00000000..ca8e5769
--- /dev/null
+++ b/regress/mdoc/Bl/breakingTa.in
@@ -0,0 +1,14 @@
+.Dd February 11, 2017
+.Dt BL-BREAKINGTA 1
+.Os OpenBSD
+.Sh NAME
+.Nm Bl-breakingTa
+.Nd tab macro breaking a block
+.Sh DESCRIPTION
+.\" Crashed before mdoc_macro.c OpenBSD rev. 1.172
+initial text
+.Bl -column 6n 6n
+.It it Aq aq Ta ta Bo bo bc
+.Bc Pq pq
+.El
+final text
diff --git a/regress/mdoc/Bl/breakingTa.out_ascii b/regress/mdoc/Bl/breakingTa.out_ascii
new file mode 100644
index 00000000..9a0d48aa
--- /dev/null
+++ b/regress/mdoc/Bl/breakingTa.out_ascii
@@ -0,0 +1,12 @@
+BL-BREAKINGTA(1) General Commands Manual BL-BREAKINGTA(1)
+
+NNAAMMEE
+ BBll--bbrreeaakkiinnggTTaa - tab macro breaking a block
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text
+
+ it <aq> ta [bo bc] (pq)
+ final text
+
+OpenBSD February 11, 2017 OpenBSD