aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libman.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 /libman.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 'libman.h')
-rw-r--r--libman.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libman.h b/libman.h
index e1a9aecc..e085693a 100644
--- a/libman.h
+++ b/libman.h
@@ -1,4 +1,4 @@
-/* $Id: libman.h,v 1.44 2010/11/30 15:36:28 kristaps Exp $ */
+/* $Id: libman.h,v 1.45 2011/01/12 10:43:22 kristaps 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 */