diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-03-02 01:00:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-03-02 01:00:40 +0000 |
commit | c2106c30fc02017f424d0af2aaea8733129851a9 (patch) | |
tree | ad908eda7569c61185a55eb7818873ceb0c17513 /usr.bin/mandoc/man.c | |
parent | 038ab018e83805ffd7295eb1d96d2eba5f39b351 (diff) |
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.c | 5 |
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; |