version 1.31, 2015/04/18 16:06:41 |
version 1.33, 2015/04/19 14:00:20 |
|
|
struct mdoc_arg; |
struct mdoc_arg; |
union mdoc_data; |
union mdoc_data; |
|
|
|
enum roff_macroset { |
|
MACROSET_NONE = 0, |
|
MACROSET_MDOC, |
|
MACROSET_MAN |
|
}; |
|
|
enum roff_sec { |
enum roff_sec { |
SEC_NONE = 0, |
SEC_NONE = 0, |
SEC_NAME, |
SEC_NAME, |
Line 91 struct roff_node { |
|
Line 97 struct roff_node { |
|
int line; /* Input file line number. */ |
int line; /* Input file line number. */ |
int pos; /* Input file column number. */ |
int pos; /* Input file column number. */ |
int tok; /* Request or macro ID. */ |
int tok; /* Request or macro ID. */ |
|
#define TOKEN_NONE (-1) /* No request or macro. */ |
int flags; |
int flags; |
#define MDOC_VALID (1 << 0) /* Has been validated. */ |
#define MDOC_VALID (1 << 0) /* Has been validated. */ |
#define MDOC_ENDED (1 << 1) /* Gone past body end mark. */ |
#define MDOC_ENDED (1 << 1) /* Gone past body end mark. */ |
Line 145 struct roff_man { |
|
Line 152 struct roff_man { |
|
#define MAN_BLINE (1 << 12) /* Next-line block scope. */ |
#define MAN_BLINE (1 << 12) /* Next-line block scope. */ |
#define MAN_LITERAL MDOC_LITERAL |
#define MAN_LITERAL MDOC_LITERAL |
#define MAN_NEWLINE MDOC_NEWLINE |
#define MAN_NEWLINE MDOC_NEWLINE |
|
enum roff_macroset macroset; /* Kind of high-level macros used. */ |
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastsec; /* Last section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_sec lastnamed; /* Last standard section seen. */ |
enum roff_next next; /* Where to put the next node. */ |
enum roff_next next; /* Where to put the next node. */ |