diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-13 06:22:11 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-13 06:22:11 +0000 |
commit | 04007246b4661dffd30ad53faf1ef776be330dba (patch) | |
tree | f6db8cfbc99238f7655884f89a976d73dc43c701 /libmdoc.h | |
parent | 94584327ed391203187fa593c8e0ff125dfd3979 (diff) | |
download | mandoc-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.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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; |