summaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-17 20:18:58 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-17 20:18:58 +0000
commitb64b0de1475692efa4920bca0e34ce89a4c6db45 (patch)
treeb3a5472494d79c0ac12a01ad18eb1e153a8603d5 /term.h
parent1a83560d87fea644ef91cb18ccce965eca6e155d (diff)
downloadmandoc-b64b0de1475692efa4920bca0e34ce89a4c6db45.tar.gz
simplify handling of .An -[no]split for terminal output:
delete one static function, one flag #define, and 25 lines of code; no functional change
Diffstat (limited to 'term.h')
-rw-r--r--term.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/term.h b/term.h
index 96b7e51c..17c0e974 100644
--- a/term.h
+++ b/term.h
@@ -81,9 +81,8 @@ struct termp {
#define TERMP_BRIND (1 << 9) /* See term_flushln(). */
#define TERMP_DANGLE (1 << 10) /* See term_flushln(). */
#define TERMP_HANG (1 << 11) /* See term_flushln(). */
-#define TERMP_NOSPLIT (1 << 12) /* See termp_an_pre/post(). */
-#define TERMP_SPLIT (1 << 13) /* See termp_an_pre/post(). */
-#define TERMP_ANPREC (1 << 14) /* See termp_an_pre(). */
+#define TERMP_NOSPLIT (1 << 12) /* Do not break line before .An. */
+#define TERMP_SPLIT (1 << 13) /* Break line before .An. */
int *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
struct mchars *symtab; /* Encoded-symbol table. */