summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/libman.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-16 02:56:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-16 02:56:48 +0000
commit95a98d61bcc1aaaa5e6e3155c99af5cdb4a72608 (patch)
treec8a89e763ac463c3c47b1123506560d692105a37 /usr.bin/mandoc/libman.h
parent57acadac999e4338490c1732cad3c069449eca78 (diff)
If the first character of a free-form text input line is whitespace,
then it will start a new output line; from kristaps@.
Diffstat (limited to 'usr.bin/mandoc/libman.h')
-rw-r--r--usr.bin/mandoc/libman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/libman.h b/usr.bin/mandoc/libman.h
index ddd55de6cc5..dcbc2b4137a 100644
--- a/usr.bin/mandoc/libman.h
+++ b/usr.bin/mandoc/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.26 2010/12/01 23:02:57 schwarze Exp $ */
+/* $Id: libman.h,v 1.27 2011/01/16 02:56:47 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -34,6 +34,7 @@ struct man {
#define MAN_ILINE (1 << 3) /* Ignored in next-line scope. */
#define MAN_LITERAL (1 << 4) /* Literal input. */
#define MAN_BPLINE (1 << 5)
+#define MAN_NEWLINE (1 << 6) /* first macro/text in a line */
enum man_next next; /* where to put the next node */
struct man_node *last; /* the last parsed node */
struct man_node *first; /* the first parsed node */