summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-24 23:04:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-24 23:04:36 +0000
commit4502d03c03ab81e38efc29a83958d57f9d2a3a36 (patch)
tree4d1f336c65263eb62b5305a31942400fb06e0364 /term.h
parentac94c36809f5a1da03eaaeebcb3d23cc7d8de077 (diff)
downloadmandoc-4502d03c03ab81e38efc29a83958d57f9d2a3a36.tar.gz
Delete the unused flag TERMP_IGNDELIM
and the empty callback termp_igndelim_pre(). Sort the remaining termp flags.
Diffstat (limited to 'term.h')
-rw-r--r--term.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/term.h b/term.h
index 880fefb1..42f37287 100644
--- a/term.h
+++ b/term.h
@@ -70,17 +70,16 @@ struct termp {
int flags;
#define TERMP_SENTENCE (1 << 1) /* Space before a sentence. */
#define TERMP_NOSPACE (1 << 2) /* No space before words. */
-#define TERMP_NOBREAK (1 << 4) /* See term_flushln(). */
-#define TERMP_IGNDELIM (1 << 6) /* Delims like regulars. */
-#define TERMP_NONOSPACE (1 << 7) /* No space (no autounset). */
-#define TERMP_DANGLE (1 << 8) /* See term_flushln(). */
-#define TERMP_HANG (1 << 9) /* See term_flushln(). */
+#define TERMP_NONOSPACE (1 << 3) /* No space (no autounset). */
+#define TERMP_KEEP (1 << 5) /* Keep words together. */
+#define TERMP_PREKEEP (1 << 6) /* ...starting with the next one. */
+#define TERMP_SKIPCHAR (1 << 7) /* Skip the next character. */
+#define TERMP_NOBREAK (1 << 8) /* See term_flushln(). */
+#define TERMP_DANGLE (1 << 9) /* See term_flushln(). */
+#define TERMP_HANG (1 << 10) /* See term_flushln(). */
#define TERMP_NOSPLIT (1 << 11) /* See termp_an_pre/post(). */
#define TERMP_SPLIT (1 << 12) /* See termp_an_pre/post(). */
#define TERMP_ANPREC (1 << 13) /* See termp_an_pre(). */
-#define TERMP_KEEP (1 << 14) /* Keep words together. */
-#define TERMP_PREKEEP (1 << 15) /* ...starting with the next one. */
-#define TERMP_SKIPCHAR (1 << 16) /* Skip the next character. */
int *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
struct mchars *symtab; /* Encoded-symbol table. */