version 1.81, 2010/05/17 22:11:42 |
version 1.82, 2010/05/17 23:57:06 |
Line 247 struct mdoc_arg { |
|
Line 247 struct mdoc_arg { |
|
unsigned int refcnt; |
unsigned int refcnt; |
}; |
}; |
|
|
|
enum mdoc_list { |
|
LIST__NONE = 0, |
|
LIST_bullet, |
|
LIST_column, |
|
LIST_dash, |
|
LIST_diag, |
|
LIST_enum, |
|
LIST_hang, |
|
LIST_hyphen, |
|
LIST_inset, |
|
LIST_item, |
|
LIST_ohang, |
|
LIST_tag |
|
}; |
|
|
/* Node in AST. */ |
/* Node in AST. */ |
struct mdoc_node { |
struct mdoc_node { |
struct mdoc_node *parent; /* parent AST node */ |
struct mdoc_node *parent; /* parent AST node */ |
Line 272 struct mdoc_node { |
|
Line 287 struct mdoc_node { |
|
struct mdoc_node *body; /* BLOCK */ |
struct mdoc_node *body; /* BLOCK */ |
struct mdoc_node *tail; /* BLOCK */ |
struct mdoc_node *tail; /* BLOCK */ |
char *string; /* TEXT */ |
char *string; /* TEXT */ |
|
|
|
union { |
|
enum mdoc_list list; /* for `Bl' nodes */ |
|
} data; |
}; |
}; |
|
|
#define MDOC_IGN_SCOPE (1 << 0) /* Ignore scope violations. */ |
#define MDOC_IGN_SCOPE (1 << 0) /* Ignore scope violations. */ |