diff options
author | 2017-06-01 19:05:15 +0000 | |
---|---|---|
committer | 2017-06-01 19:05:15 +0000 | |
commit | 8e935ceab83e2fb72e4e27e9ef21243319f2df5c (patch) | |
tree | 5203ac769f21067e819ac28e8322cd71e651aaf6 /usr.bin/mandoc/mandoc.h | |
parent | STYLE message about full stop at the end of .Nd; inspired by mdoclint(1) (diff) | |
download | wireguard-openbsd-8e935ceab83e2fb72e4e27e9ef21243319f2df5c.tar.xz wireguard-openbsd-8e935ceab83e2fb72e4e27e9ef21243319f2df5c.zip |
Minimal implementation of the \h (horizontal motion) escape sequence.
Good enough to cope with the average DocBook insanity.
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index 00bdd948f54..7a682b17aa4 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: mandoc.h,v 1.161 2017/06/01 15:24:41 schwarze Exp $ */ +/* $OpenBSD: mandoc.h,v 1.162 2017/06/01 19:05:15 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -411,6 +411,7 @@ enum mandoc_esc { ESCAPE_NUMBERED, /* a numbered glyph */ ESCAPE_UNICODE, /* a unicode codepoint */ ESCAPE_NOSPACE, /* suppress space if the last on a line */ + ESCAPE_HORIZ, /* horizontal movement */ ESCAPE_SKIPCHAR, /* skip the next character */ ESCAPE_OVERSTRIKE /* overstrike all chars in the argument */ }; |