diff options
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -258,7 +258,6 @@ struct mdoc_node { enum mdoc_type type; enum mdoc_sec sec; - /* FIXME: union/struct this with #defines. */ struct mdoc_arg *args; /* BLOCK/ELEM */ struct mdoc_node *head; /* BLOCK */ struct mdoc_node *body; /* BLOCK */ @@ -272,7 +271,7 @@ struct mdoc_node { #define MDOC_IGN_CHARS (1 << 3) /* Ignore disallowed chars. */ /* Call-backs for parse messages. */ -/* FIXME: unify somehow with man_cb. */ + struct mdoc_cb { int (*mdoc_err)(void *, int, int, const char *); int (*mdoc_warn)(void *, int, int, const char *); |