summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-16 13:54:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-16 13:54:06 +0000
commit27f1545e0f756e82e793a38e1bc5a55d673a6261 (patch)
treeaec0540f62f2ddaaf8ca6abc5d05a59cd47da072 /mandoc.h
parent53895dc947dd04e38242df7ec586e07b9b14ba99 (diff)
downloadmandoc-27f1545e0f756e82e793a38e1bc5a55d673a6261.tar.gz
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 'mandoc.h')
-rw-r--r--mandoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index c3d1d6a3..b44ec87f 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -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 */