summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-01-16 02:56:47 +0000
committerschwarze <schwarze@openbsd.org>2011-01-16 02:56:47 +0000
commitaad3ea0cf9a80eeddbd69941824fa913eaa077f5 (patch)
tree805a454b0d7cefde822d4d059eaa9e85d2a227e3 /usr.bin/mandoc/man.h
parentVarious tbl improvements from kristaps@: (diff)
downloadwireguard-openbsd-aad3ea0cf9a80eeddbd69941824fa913eaa077f5.tar.xz
wireguard-openbsd-aad3ea0cf9a80eeddbd69941824fa913eaa077f5.zip
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/man.h')
-rw-r--r--usr.bin/mandoc/man.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.h b/usr.bin/mandoc/man.h
index f459db294f3..4c8bd5e4fc2 100644
--- a/usr.bin/mandoc/man.h
+++ b/usr.bin/mandoc/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.33 2011/01/04 22:28:17 schwarze Exp $ */
+/* $Id: man.h,v 1.34 2011/01/16 02:56:47 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -97,6 +97,7 @@ struct man_node {
int flags;
#define MAN_VALID (1 << 0) /* has been validated */
#define MAN_EOS (1 << 2) /* at sentence boundary */
+#define MAN_LINE (1 << 3) /* first macro/text on line */
enum man_type type; /* AST node type */
char *string; /* TEXT node argument */
struct man_node *head; /* BLOCK node HEAD ptr */