summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man_macro.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2012-06-02 20:07:09 +0000
committerschwarze <schwarze@openbsd.org>2012-06-02 20:07:09 +0000
commit8d0fa220a9f3f8678da39a869f6716a46ae538b0 (patch)
tree595f60b77a7788b4c9bfa2d59f5b510d46a1d063 /usr.bin/mandoc/man_macro.c
parentAdd AMT ports to /etc/services so they're entered in net.inet.tcp.baddynamic (diff)
downloadwireguard-openbsd-8d0fa220a9f3f8678da39a869f6716a46ae538b0.tar.xz
wireguard-openbsd-8d0fa220a9f3f8678da39a869f6716a46ae538b0.zip
Minimal implementation of .EX and .EE for GNU compatibility.
Do not use this, it is not portable and only defined in esr's man-ext. For example, sox(1) wants these macros.
Diffstat (limited to 'usr.bin/mandoc/man_macro.c')
-rw-r--r--usr.bin/mandoc/man_macro.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c
index 5a7ed353fe0..62e57feb5b6 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.34 2012/02/26 19:41:27 schwarze Exp $ */
+/* $Id: man_macro.c,v 1.35 2012/06/02 20:07:09 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -81,6 +81,8 @@ const struct man_macro __man_macros[MAN_MAX] = {
{ in_line_eoln, 0 }, /* in */
{ in_line_eoln, 0 }, /* ft */
{ in_line_eoln, 0 }, /* OP */
+ { in_line_eoln, MAN_BSCOPE }, /* EX */
+ { in_line_eoln, MAN_BSCOPE }, /* EE */
};
const struct man_macro * const man_macros = __man_macros;