summaryrefslogtreecommitdiffstats
path: root/regress/roff/esc/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2022-05-30 23:03:47 +0000
committerIngo Schwarze <schwarze@openbsd.org>2022-05-30 23:03:47 +0000
commitd677d96107effef249eb44f9d28860fe7a0fe029 (patch)
treea2ceebb9647eed1188d39e6eba6108f948ed0a1d /regress/roff/esc/Makefile
parent1b20206767c4c7b1861876c71172d99fb14c8113 (diff)
downloadmandoc-d677d96107effef249eb44f9d28860fe7a0fe029.tar.gz
Dummy implementation of the roff(7) \V (interpolate environment variable)
escape sequence. This is needed to get \V into the correct parsing class, ESCAPE_EXPAND. It is intentional that mandoc(1) output is *not* influenced by environment variables, so interpolate the name of the variable with some decorating punctuation rather than interpolating its value.
Diffstat (limited to 'regress/roff/esc/Makefile')
-rw-r--r--regress/roff/esc/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/regress/roff/esc/Makefile b/regress/roff/esc/Makefile
index bd39e378..dd816f58 100644
--- a/regress/roff/esc/Makefile
+++ b/regress/roff/esc/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.21 2022/05/20 13:06:27 schwarze Exp $
+# $OpenBSD: Makefile,v 1.22 2022/05/30 22:50:40 schwarze Exp $
REGRESS_TARGETS = one two multi comment
-REGRESS_TARGETS += B bs_man bs_mdoc c c_man E1 e f h hneg l O1 o p r w z
+REGRESS_TARGETS += B bs_man bs_mdoc c c_man E1 e f h hneg l O1 o p r V1 w z
REGRESS_TARGETS += ignore invalid unsupp
HTML_TARGETS = f
-LINT_TARGETS = comment B h l O1 r w ignore invalid unsupp
+LINT_TARGETS = comment B h l O1 r V1 w ignore invalid unsupp
# mandoc defects:
# - \h with a negative argument replaces output characters
@@ -13,4 +13,9 @@ LINT_TARGETS = comment B h l O1 r w ignore invalid unsupp
SKIP_GROFF = hneg r
+# intentional difference:
+# - mandoc does not inspect the environment
+
+SKIP_GROFF += V1
+
.include <bsd.regress.mk>