aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit319dd615ecf9bfbb4f80d4a40c14cfa67f905b04 (patch)
tree3615089281d4a071d3960b3ebbfc86475bce2a69 /term.h
parentd79f71b0fb34255f6f1577ffb09b4ce72dc775fd (diff)
downloadmandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.tar.gz
mandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.tar.zst
mandoc-319dd615ecf9bfbb4f80d4a40c14cfa67f905b04.zip
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.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/term.h b/term.h
index f49e86fd..bded6226 100644
--- a/term.h
+++ b/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.95 2013/12/22 23:34:13 schwarze Exp $ */
+/* $Id: term.h,v 1.96 2013/12/24 23:04:36 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -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. */