summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-13 06:22:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-13 06:22:11 +0000
commit04007246b4661dffd30ad53faf1ef776be330dba (patch)
treef6db8cfbc99238f7655884f89a976d73dc43c701 /libmdoc.h
parent94584327ed391203187fa593c8e0ff125dfd3979 (diff)
downloadmandoc-04007246b4661dffd30ad53faf1ef776be330dba.tar.gz
Fixed bug in -Thtml -mdoc where `Lb' would line-break in LIBRARY section.
Fixed assumption that parse-point == 1 equates to beginning of line (false if whitespace separates macro and control character). Fixed line-break for non-first-macro in several SYNOPSIS macros.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 2b4ca755..4a76df4d 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -28,9 +28,10 @@ struct mdoc {
void *data;
struct mdoc_cb cb;
int flags;
-#define MDOC_HALT (1 << 0) /* Error in parse. Halt. */
-#define MDOC_LITERAL (1 << 1) /* In a literal scope. */
-#define MDOC_PBODY (1 << 2) /* In the document body. */
+#define MDOC_HALT (1 << 0) /* error in parse: halt */
+#define MDOC_LITERAL (1 << 1) /* in a literal scope */
+#define MDOC_PBODY (1 << 2) /* in the document body */
+#define MDOC_NEWLINE (1 << 3) /* first macro/text in a line */
int pflags;
enum mdoc_next next;
struct mdoc_node *last;