aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 15:42:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 15:42:09 +0000
commit21bb451eea95935f615ded5d57dc8c6c9d2224f8 (patch)
treec5d5dd4919b2c176c72b1c15cec53c5535dda349 /libmdoc.h
parent021bc3db05c09297aa2ca95496a414c675652db4 (diff)
downloadmandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.tar.gz
mandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.tar.zst
mandoc-21bb451eea95935f615ded5d57dc8c6c9d2224f8.zip
Add ability to interpret initial free-form lines as part of a `Bl
-column' up until the first `It'. This is UGLY and should have all sorts of warnings, and will. On the one hand, it fits with groff's notion of tabs and tab-spaces. On the other hand, it's not really "free-form" text any more. Note that this does not yet accomodate for macros coming on these lines.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 60dfc52b..d383f7ba 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -1,4 +1,4 @@
-/* $Id: libmdoc.h,v 1.50 2010/05/24 12:05:04 schwarze Exp $ */
+/* $Id: libmdoc.h,v 1.51 2010/05/31 15:42:09 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -34,6 +34,7 @@ struct mdoc {
#define MDOC_NEWLINE (1 << 3) /* first macro/text in a line */
#define MDOC_PHRASELIT (1 << 4) /* literal within a partila phrase */
#define MDOC_PPHRASE (1 << 5) /* within a partial phrase */
+#define MDOC_FREECOL (1 << 6) /* `It' invocation should close */
int pflags;
enum mdoc_next next;
struct mdoc_node *last;