X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/9b08769d420c8fb749fc6b70d3118ead5f54e2ea..19bbba00a696e5f8af750eebfa6f47c1ee1cfa2e:/private.h?ds=sidebyside diff --git a/private.h b/private.h index b68b54aa..accda8a1 100644 --- a/private.h +++ b/private.h @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.27 2008/12/04 16:19:52 kristaps Exp $ */ +/* $Id: private.h,v 1.30 2008/12/04 23:10:51 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -64,7 +64,10 @@ struct md_mbuf { #define ROFFTok_Infty 24 #define ROFFTok_Bar 25 #define ROFFTok_Nan 26 -#define ROFFTok_MAX 27 +#define ROFFTok_Quote 27 +#define ROFFTok_Sp_0 28 +#define ROFFTok_Slash 29 +#define ROFFTok_MAX 30 #define ROFF___ 0 #define ROFF_Dd 1 @@ -250,7 +253,6 @@ struct roffcb { const char *, const char *, const char *); int (*rofftail)(void *); int (*roffdata)(void *, int, const char *, char *); - int (*rofftoken)(void *, int, int); int (*roffin)(void *, int, int *, char **); int (*roffout)(void *, int); int (*roffblkin)(void *, int, int *, char **); @@ -259,7 +261,7 @@ struct roffcb { int (*roffblkheadout)(void *, int); int (*roffblkbodyin)(void *, int, int *, char **); int (*roffblkbodyout)(void *, int); - int (*roffspecial)(void *, int, int *, char **, char **); + int (*roffspecial)(void *, int, const char *, char **); }; struct rofftree; @@ -289,7 +291,7 @@ struct rofftree *roff_alloc(const struct roffcb *, void *); int roff_engine(struct rofftree *, char *); int roff_free(struct rofftree *, int); -int rofftok_scan(const char *); +int rofftok_scan(const char *, int *); __END_DECLS