summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 19:31:57 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-04 19:31:57 +0000
commit50ecaba08336212e4dc1802f15d7d3f4ffad186a (patch)
treebfc5e27855965ac17df779fa730772c1a696f7a3 /private.h
parentfb40e7adf35e6b21b0e64e170b71e1a4d2cf5351 (diff)
downloadmandoc-50ecaba08336212e4dc1802f15d7d3f4ffad186a.tar.gz
Moved charset recognition into the filter.
Diffstat (limited to 'private.h')
-rw-r--r--private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/private.h b/private.h
index b60686a8..9c7f242f 100644
--- a/private.h
+++ b/private.h
@@ -65,7 +65,9 @@ struct md_mbuf {
#define ROFFTok_Bar 25
#define ROFFTok_Nan 26
#define ROFFTok_Quote 27
-#define ROFFTok_MAX 28
+#define ROFFTok_Sp_0 28
+#define ROFFTok_Slash 29
+#define ROFFTok_MAX 30
#define ROFF___ 0
#define ROFF_Dd 1
@@ -251,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 **);
@@ -290,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