summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-03-02 01:00:39 +0000
committerschwarze <schwarze@openbsd.org>2010-03-02 01:00:39 +0000
commit172522eb5a2863ae0f57d6da02c53b6098aae892 (patch)
tree2677be68f7a571687dbc09bcd98b259d28538057 /usr.bin/mandoc/man.c
parentProper inter-sentence spacing for mdoc(7). (diff)
downloadwireguard-openbsd-172522eb5a2863ae0f57d6da02c53b6098aae892.tar.xz
wireguard-openbsd-172522eb5a2863ae0f57d6da02c53b6098aae892.zip
Accept the non-standard macros .Sp (similar to .sp)
and .Vb/.Ve (similar to .nf/.fi) in man(7) mode. These are not intended to be used manually, but they allow us to properly render man(7) code autogenerated by pod2man(1), making Perl and OpenSSL happy in our tree.
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 daea772af0c..960db5052cd 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.19 2010/02/26 12:42:29 schwarze Exp $ */
+/* $Id: man.c,v 1.20 2010/03/02 01:00:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -55,7 +55,8 @@ const char *const __man_macronames[MAN_MAX] = {
"R", "B", "I", "IR",
"RI", "na", "i", "sp",
"nf", "fi", "r", "RE",
- "RS", "DT", "UC", "PD"
+ "RS", "DT", "UC", "PD",
+ "Sp", "Vb", "Ve",
};
const char * const *man_macronames = __man_macronames;