summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_macro.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2012-02-26 19:41:27 +0000
committerschwarze <schwarze@openbsd.org>2012-02-26 19:41:27 +0000
commit66ae7cc0c0aabb158df4446965606366ddc242f9 (patch)
tree4742c20c215866bdf5cd0ff3ebbf25f129a9e8d7 /usr.bin/mandoc/man_macro.c
parentFix several manpage titles, from Lawrence Teo. (diff)
downloadwireguard-openbsd-66ae7cc0c0aabb158df4446965606366ddc242f9.tar.xz
wireguard-openbsd-66ae7cc0c0aabb158df4446965606366ddc242f9.zip
Support .OP, one of the extended man macros; from kristaps@.
Do not use this GNU extension, we take it for compatibility only.
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r--usr.bin/mandoc/man_macro.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c
index f4a28bcc310..5a7ed353fe0 100644
--- a/usr.bin/mandoc/man_macro.c
+++ b/usr.bin/mandoc/man_macro.c
@@ -1,4 +1,4 @@
-/* $Id: man_macro.c,v 1.33 2011/12/04 00:44:18 schwarze Exp $ */
+/* $Id: man_macro.c,v 1.34 2012/02/26 19:41:27 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -80,6 +80,7 @@ const struct man_macro __man_macros[MAN_MAX] = {
{ in_line_eoln, 0 }, /* AT */
{ in_line_eoln, 0 }, /* in */
{ in_line_eoln, 0 }, /* ft */
+ { in_line_eoln, 0 }, /* OP */
};
const struct man_macro * const man_macros = __man_macros;