summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-14 23:24:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-14 23:24:17 +0000
commitff7404ec88115f451afc869f7330722a3bb3e41e (patch)
treeae95f711969058cac81ed938895bd934f5503359 /regress/roff/esc
parent91f0f16f2181a2ac79aecf7026518b21cf15770f (diff)
downloadmandoc-ff7404ec88115f451afc869f7330722a3bb3e41e.tar.gz
implement so-called absolute horizontal motion: \h'|...',
used for example by zoem(1)
Diffstat (limited to 'regress/roff/esc')
-rw-r--r--regress/roff/esc/h.in2
-rw-r--r--regress/roff/esc/h.out_ascii1
-rw-r--r--regress/roff/esc/h.out_lint2
3 files changed, 4 insertions, 1 deletions
diff --git a/regress/roff/esc/h.in b/regress/roff/esc/h.in
index 56e4275c..8fa23e7b 100644
--- a/regress/roff/esc/h.in
+++ b/regress/roff/esc/h.in
@@ -9,6 +9,8 @@ simple: >\h'0'<
.br
rounding: >\h'0.16i'<
.br
+absolute: >\h'|12n'<
+.br
escape only: >\h'\w'\&'M'<
.br
escape at the end: >\h'0+\w'\&''<
diff --git a/regress/roff/esc/h.out_ascii b/regress/roff/esc/h.out_ascii
index ae378a45..ddfac195 100644
--- a/regress/roff/esc/h.out_ascii
+++ b/regress/roff/esc/h.out_ascii
@@ -6,6 +6,7 @@ NNAAMMEE
DDEESSCCRRIIPPTTIIOONN
simple: ><
rounding: > <
+ absolute: > <
escape only: ><
escape at the end: ><
escape at the beginning: ><
diff --git a/regress/roff/esc/h.out_lint b/regress/roff/esc/h.out_lint
index b7facfb1..23ff9ce8 100644
--- a/regress/roff/esc/h.out_lint
+++ b/regress/roff/esc/h.out_lint
@@ -1,2 +1,2 @@
-mandoc: h.in:20:21: WARNING: invalid escape sequence: \h-
+mandoc: h.in:22:21: WARNING: invalid escape sequence: \h-
mandoc: h.in:1:5: STYLE: Mdocdate missing: Dd May