diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-29 04:52:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-03-29 04:52:14 +0000 |
commit | 40d86894cf83a9f39b0d85e391c7c16574971889 (patch) | |
tree | 670208d3e7101f9294ad5312ae1d25ef3f051886 /libman.h | |
parent | f21a38903f3f18b8185649f2a8fda1137ae506cd (diff) | |
download | mandoc-40d86894cf83a9f39b0d85e391c7c16574971889.tar.gz |
Initial step in fixing badness reported by Sascha Wildner (wip).
Diffstat (limited to 'libman.h')
-rw-r--r-- | libman.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -27,13 +27,15 @@ enum man_next { struct man { void *data; struct man_cb cb; - int pflags; - int flags; -#define MAN_HALT (1 << 0) + int pflags; /* parse flags (see man.h) */ + int svflags; /* flags saved during roff blocks */ + int flags; /* parse flags */ +#define MAN_HALT (1 << 0) /* badness happened: die */ #define MAN_ELINE (1 << 1) /* Next-line element scope. */ #define MAN_BLINE (1 << 2) /* Next-line block scope. */ #define MAN_ILINE (1 << 3) /* Ignored in next-line scope. */ #define MAN_LITERAL (1 << 4) /* Literal input. */ +#define MAN_BPLINE (1 << 5) enum man_next next; struct man_node *last; struct man_node *first; |