summaryrefslogtreecommitdiffstats
path: root/libmandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-25 15:37:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-25 15:37:00 +0000
commit50079d4076610ce94c315c3ead86fa3dd19dc673 (patch)
treea0a462e3767cedd8ddb18951887372ecbe0ebe93 /libmandoc.h
parent9e5a4ae8da2d23137cf7342e8fe27ed1172b98f5 (diff)
downloadmandoc-50079d4076610ce94c315c3ead86fa3dd19dc673.tar.gz
Implement the first steps of equation parsing from within libmdoc.
This consists of a shim around the text parser that calls out to libroff if equation components exist on the line. Right now this will do nothing, as the equation delimiter always returns nil.
Diffstat (limited to 'libmandoc.h')
-rw-r--r--libmandoc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmandoc.h b/libmandoc.h
index 7a79257a..c7f0b41d 100644
--- a/libmandoc.h
+++ b/libmandoc.h
@@ -76,6 +76,10 @@ void roff_endparse(struct roff *);
int roff_regisset(const struct roff *, enum regs);
unsigned int roff_regget(const struct roff *, enum regs);
void roff_regunset(struct roff *, enum regs);
+char roff_eqndelim(const struct roff *);
+void roff_openeqn(struct roff *, const char *,
+ int, int, const char *);
+int roff_closeeqn(struct roff *);
const struct tbl_span *roff_span(const struct roff *);
const struct eqn *roff_eqn(const struct roff *);