version 1.66, 2009/07/17 10:56:57 |
version 1.67, 2009/07/24 12:48:18 |
Line 258 struct mdoc_node { |
|
Line 258 struct mdoc_node { |
|
enum mdoc_type type; |
enum mdoc_type type; |
enum mdoc_sec sec; |
enum mdoc_sec sec; |
|
|
/* FIXME: union/struct this with #defines. */ |
|
struct mdoc_arg *args; /* BLOCK/ELEM */ |
struct mdoc_arg *args; /* BLOCK/ELEM */ |
struct mdoc_node *head; /* BLOCK */ |
struct mdoc_node *head; /* BLOCK */ |
struct mdoc_node *body; /* BLOCK */ |
struct mdoc_node *body; /* BLOCK */ |
Line 272 struct mdoc_node { |
|
Line 271 struct mdoc_node { |
|
#define MDOC_IGN_CHARS (1 << 3) /* Ignore disallowed chars. */ |
#define MDOC_IGN_CHARS (1 << 3) /* Ignore disallowed chars. */ |
|
|
/* Call-backs for parse messages. */ |
/* Call-backs for parse messages. */ |
/* FIXME: unify somehow with man_cb. */ |
|
struct mdoc_cb { |
struct mdoc_cb { |
int (*mdoc_err)(void *, int, int, const char *); |
int (*mdoc_err)(void *, int, int, const char *); |
int (*mdoc_warn)(void *, int, int, const char *); |
int (*mdoc_warn)(void *, int, int, const char *); |