summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mandoc.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-08-16 13:49:40 +0000
committerschwarze <schwarze@openbsd.org>2018-08-16 13:49:40 +0000
commit8138dde89f220e9b56e60d4274fe6546e3c891d7 (patch)
tree2ce4d8fa86989dd80dc09f412121181295e07168 /usr.bin/mandoc/mandoc.h
parentRemove unused variable. (diff)
downloadwireguard-openbsd-8138dde89f220e9b56e60d4274fe6546e3c891d7.tar.xz
wireguard-openbsd-8138dde89f220e9b56e60d4274fe6546e3c891d7.zip
Implement the \*(.T predefined string (interpolate device name)
by allowing the preprocessor to pass it through to the formatters. Used for example by the groff_char(7) manual page.
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r--usr.bin/mandoc/mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h
index 50b2c285b31..79ddd10c9a2 100644
--- a/usr.bin/mandoc/mandoc.h
+++ b/usr.bin/mandoc/mandoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.h,v 1.190 2018/07/28 18:32:30 schwarze Exp $ */
+/* $OpenBSD: mandoc.h,v 1.191 2018/08/16 13:49:40 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -431,6 +431,7 @@ enum mandoc_esc {
ESCAPE_FONTPREV, /* previous font mode */
ESCAPE_NUMBERED, /* a numbered glyph */
ESCAPE_UNICODE, /* a unicode codepoint */
+ ESCAPE_DEVICE, /* print the output device name */
ESCAPE_BREAK, /* break the output line */
ESCAPE_NOSPACE, /* suppress space if the last on a line */
ESCAPE_HORIZ, /* horizontal movement */