summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_term.c
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2017-06-25 07:23:53 +0000
committerbentley <bentley@openbsd.org>2017-06-25 07:23:53 +0000
commitdf9a9479ddee899e1995f8eba1983628deecbec6 (patch)
treeb8e6e4ef139aeae307e2542996421eae48da1dfc /usr.bin/mandoc/man_term.c
parentldd is more strict wrt semicolons, they can only appear after an (diff)
downloadwireguard-openbsd-df9a9479ddee899e1995f8eba1983628deecbec6.tar.xz
wireguard-openbsd-df9a9479ddee899e1995f8eba1983628deecbec6.zip
Add support for the MT and ME mailto macros, used for example in wg(8).
feedback and ok schwarze@
Diffstat (limited to 'usr.bin/mandoc/man_term.c')
-rw-r--r--usr.bin/mandoc/man_term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c
index 7b34366e6a0..0bd7770395b 100644
--- a/usr.bin/mandoc/man_term.c
+++ b/usr.bin/mandoc/man_term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man_term.c,v 1.160 2017/06/17 13:05:47 schwarze Exp $ */
+/* $OpenBSD: man_term.c,v 1.161 2017/06/25 07:23:53 bentley Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -126,6 +126,8 @@ static const struct termact __termacts[MAN_MAX - MAN_TH] = {
{ pre_literal, NULL, 0 }, /* EE */
{ pre_UR, post_UR, 0 }, /* UR */
{ NULL, NULL, 0 }, /* UE */
+ { pre_UR, post_UR, 0 }, /* MT */
+ { NULL, NULL, 0 }, /* ME */
};
static const struct termact *termacts = __termacts - MAN_TH;