diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-03 13:44:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-06-03 13:44:36 +0000 |
commit | 07dfb14a298c0d0ed7988ffc395a5402873c61b2 (patch) | |
tree | 26859b601b8f0fc89617847b6dbcaf89de68c07a /libmdoc.h | |
parent | a101b1f81e1c47960a700d0827125c765f47544f (diff) | |
download | mandoc-07dfb14a298c0d0ed7988ffc395a5402873c61b2.tar.gz |
Consolidated list processing to a single loop in mdoc_validate.c. This
relieves having to repeat running over the argument list in
mdoc_action.c and mdoc_validate.c.
Default to LIST_item for type-less lists (groff technically doesn't do
this: it just ignores the `It' lines altogether).
Make MANDOC_LISTTYPE be a recoverable error.
Diffstat (limited to 'libmdoc.h')
-rw-r--r-- | libmdoc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -118,8 +118,7 @@ const char *mdoc_a2st(const char *); const char *mdoc_a2arch(const char *); const char *mdoc_a2vol(const char *); const char *mdoc_a2msec(const char *); -int mdoc_valid_pre(struct mdoc *, - const struct mdoc_node *); +int mdoc_valid_pre(struct mdoc *, struct mdoc_node *); int mdoc_valid_post(struct mdoc *); int mdoc_action_pre(struct mdoc *, struct mdoc_node *); |