version 1.69, 2009/01/19 17:51:33 |
version 1.71, 2009/01/20 13:05:28 |
|
|
void *data; |
void *data; |
struct mdoc_cb cb; |
struct mdoc_cb cb; |
void *htab; |
void *htab; |
|
int linetok; |
int flags; |
int flags; |
#define MDOC_HALT (1 << 0) |
#define MDOC_HALT (1 << 0) |
|
#define MDOC_BODYPARSE (1 << 1) |
enum mdoc_next next; |
enum mdoc_next next; |
struct mdoc_node *last; |
struct mdoc_node *last; |
struct mdoc_node *first; |
struct mdoc_node *first; |
|
|
}; |
}; |
|
|
|
|
/* FIXME: it's 9 (this isn't used properly). */ |
/* Hard-limit of macro arguments. */ |
|
|
#define MDOC_LINEARG_MAX 12 |
#define MDOC_LINEARG_MAX 9 |
|
|
|
/* Suggested limit of macro arguments. */ |
|
|
|
#define MDOC_LINEARG_SOFTMAX 9 |
|
|
#define MACRO_PROT_ARGS struct mdoc *mdoc, int tok, int line, \ |
#define MACRO_PROT_ARGS struct mdoc *mdoc, int tok, int line, \ |
int ppos, int *pos, char *buf |
int ppos, int *pos, char *buf |
|
|
Line 57 struct mdoc_macro { |
|
Line 63 struct mdoc_macro { |
|
#define MDOC_QUOTABLE (1 << 3) |
#define MDOC_QUOTABLE (1 << 3) |
#define MDOC_PROLOGUE (1 << 4) |
#define MDOC_PROLOGUE (1 << 4) |
#define MDOC_TABSEP (1 << 5) |
#define MDOC_TABSEP (1 << 5) |
#define MDOC_NOKEEP (1 << 6) |
|
}; |
}; |
|
|
#define mdoc_nwarn(mdoc, node, type, fmt, ...) \ |
#define mdoc_nwarn(mdoc, node, type, fmt, ...) \ |
Line 152 int mdoc_args(struct mdoc *, int, |
|
Line 157 int mdoc_args(struct mdoc *, int, |
|
#define ARGS_EOLN (0) |
#define ARGS_EOLN (0) |
#define ARGS_WORD (1) |
#define ARGS_WORD (1) |
#define ARGS_PUNCT (2) |
#define ARGS_PUNCT (2) |
|
#define ARGS_QWORD (3) |
|
|
#define ARGS_QUOTED (1 << 0) |
#define ARGS_QUOTED (1 << 0) |
#define ARGS_DELIM (1 << 1) |
#define ARGS_DELIM (1 << 1) |