diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-17 20:18:58 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-17 20:18:58 +0000 |
commit | b64b0de1475692efa4920bca0e34ce89a4c6db45 (patch) | |
tree | b3a5472494d79c0ac12a01ad18eb1e153a8603d5 /term.h | |
parent | 1a83560d87fea644ef91cb18ccce965eca6e155d (diff) | |
download | mandoc-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.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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. */ |