aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-12 10:43:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-12 10:43:22 +0000
commitbf9cd278f0762f5462721f4edb03b4172663d23f (patch)
tree039daf4f957a0b2ddd6adf6b1082739bf927cb6c /man.h
parent15176c550e36917edca474cf54bf81fdcd5cc066 (diff)
downloadmandoc-bf9cd278f0762f5462721f4edb03b4172663d23f.tar.gz
mandoc-bf9cd278f0762f5462721f4edb03b4172663d23f.tar.zst
mandoc-bf9cd278f0762f5462721f4edb03b4172663d23f.zip
If the first character of free-form text is whitespace, then a newline
shall precede outputted text (surprise!).
Diffstat (limited to 'man.h')
-rw-r--r--man.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/man.h b/man.h
index 581f55ff..4373f8e6 100644
--- a/man.h
+++ b/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.50 2011/01/01 12:59:17 kristaps Exp $ */
+/* $Id: man.h,v 1.51 2011/01/12 10:43:22 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 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 */