diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-27 16:54:58 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-27 16:54:58 +0000 |
commit | 757654bf3db3f335e31ed99eff0744a5b6d0c5d1 (patch) | |
tree | d8b27757ac79941de0a81c2532582da0a5456f07 /private.h | |
parent | 249f2463dcbfa8d488b51bd70a458dbe79d25724 (diff) | |
download | mandoc-757654bf3db3f335e31ed99eff0744a5b6d0c5d1.tar.gz |
Considerable fixes.
Diffstat (limited to 'private.h')
-rw-r--r-- | private.h | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -199,16 +199,19 @@ struct md_mbuf { #define ROFF_susv2 55 #define ROFF_susv3 56 #define ROFF_svid4 57 -#define ROFF_ARGMAX 58 +#define ROFF_Filled 58 +#define ROFF_Words 59 +#define ROFF_ARGMAX 60 extern const char *const *toknames; extern const char *const *tokargnames; -/* FIXME: have a md_roff with all necessary parameters. */ - -/* FIXME: have roffbegin and roffend for doc head/foot. */ +enum roffmsg { ROFF_WARN, ROFF_ERROR }; struct roffcb { + void (*roffmsg)(const struct md_args *, enum roffmsg, + const char *, const char *, const char *, + int, char *); int (*roffhead)(void); int (*rofftail)(void); int (*roffin)(int, int *, char **); |