summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2013-10-17 20:51:28 +0000
committerschwarze <schwarze@openbsd.org>2013-10-17 20:51:28 +0000
commit3aeff92617d993171c51c2e1be911b4db5e35efb (patch)
treee34665b6d6f6f517b94f3530558434e88b49fd63 /usr.bin/mandoc/man.c
parentcannot have queue definitions inside anchors. (diff)
downloadwireguard-openbsd-3aeff92617d993171c51c2e1be911b4db5e35efb.tar.xz
wireguard-openbsd-3aeff92617d993171c51c2e1be911b4db5e35efb.zip
Implement the .UR/.UE block (uniform resource identifier) introduced in the
man-ext macros by Eric S. Raymond, enabled by default in groff_man(7). Usual disclaimer: You don't write new man(7) code, so you are not going to use these, either. Improves e.g. the bzr(1) and etherape(1) manuals. Thanks to naddy@ for bringing these to my attention.
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r--usr.bin/mandoc/man.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c
index 08c89b795c3..909019f85f1 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.69 2012/11/17 00:25:20 schwarze Exp $ */
+/* $Id: man.c,v 1.70 2013/10/17 20:51:28 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -36,7 +36,8 @@ const char *const __man_macronames[MAN_MAX] = {
"RI", "na", "sp", "nf",
"fi", "RE", "RS", "DT",
"UC", "PD", "AT", "in",
- "ft", "OP", "EX", "EE"
+ "ft", "OP", "EX", "EE",
+ "UR", "UE"
};
const char * const *man_macronames = __man_macronames;