summaryrefslogtreecommitdiff
path: root/regress/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-28 15:02:26 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-01-28 15:02:26 +0000
commit41191896afad75dd433448fed31a9737f86d96e5 (patch)
treecbcc7a24bff8d210d6359db2ef2ab8e0773448e5 /regress/usr.bin/mandoc
parent532f37b95e6cbf616024a57d66800320a697cf06 (diff)
For now, it can't be helped that mandoc tbl(7) ignores high-level macros,
but stop throwing away their arguments. This fixes information loss in a handful of Xenocara manuals, at the price of a small amount of formatting noise creeping through.
Diffstat (limited to 'regress/usr.bin/mandoc')
-rw-r--r--regress/usr.bin/mandoc/tbl/macro.in3
-rw-r--r--regress/usr.bin/mandoc/tbl/macro.out_lint2
2 files changed, 2 insertions, 3 deletions
diff --git a/regress/usr.bin/mandoc/tbl/macro.in b/regress/usr.bin/mandoc/tbl/macro.in
index f97907d87ae..07ba2456ea3 100644
--- a/regress/usr.bin/mandoc/tbl/macro.in
+++ b/regress/usr.bin/mandoc/tbl/macro.in
@@ -8,8 +8,7 @@ box tab(:);
l | l .
a:b
_
-.PD 1
-c:d
+.R c:d
.TE
.PP
normal text
diff --git a/regress/usr.bin/mandoc/tbl/macro.out_lint b/regress/usr.bin/mandoc/tbl/macro.out_lint
index ba4eea35cdd..b2c7a8b3023 100644
--- a/regress/usr.bin/mandoc/tbl/macro.out_lint
+++ b/regress/usr.bin/mandoc/tbl/macro.out_lint
@@ -1 +1 @@
-mandoc: macro.in:11:2: UNSUPP: ignoring macro in table: PD 1
+mandoc: macro.in:11:2: UNSUPP: ignoring macro in table: R c:d