summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/term.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-27 01:24:03 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-27 01:24:03 +0000
commitc4935c9adb4d5478e99db6d0f80f639c7f744f23 (patch)
treecfec58586fa36ab291a217899c8341af60810112 /usr.bin/mandoc/term.h
parent51323bb19f92ca19105bb3f3903be9987f88db65 (diff)
Basic implementation of .Bk/.Ek.
OK and one stylistic tweak by kristaps@.
Diffstat (limited to 'usr.bin/mandoc/term.h')
-rw-r--r--usr.bin/mandoc/term.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/term.h b/usr.bin/mandoc/term.h
index f149c876c79..7273a39ef59 100644
--- a/usr.bin/mandoc/term.h
+++ b/usr.bin/mandoc/term.h
@@ -1,4 +1,4 @@
-/* $Id: term.h,v 1.22 2010/06/26 19:08:00 schwarze Exp $ */
+/* $Id: term.h,v 1.23 2010/06/27 01:24:02 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -78,6 +78,8 @@ struct termp {
#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. */
char *buf; /* Output buffer. */
enum termenc enc; /* Type of encoding. */
void *symtab; /* Encoded-symbol table. */