summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 07:46:41 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 07:46:41 +0000
commitfe200714381b9d81c222bda224df0dc6dfc61c8a (patch)
tree209bef8a4f53984c628091c1fad8b4817c290671 /libmdoc.h
parentbafe4939fd3c12ed13bf24cf2f317e39910722bb (diff)
downloadmandoc-fe200714381b9d81c222bda224df0dc6dfc61c8a.tar.gz
Make `struct roff' be passed into libmdoc and libman upon creation.
This is required for supporting in-line equations. While here, push registers properly into roff and add an set/get/mod interface.
Diffstat (limited to 'libmdoc.h')
-rw-r--r--libmdoc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmdoc.h b/libmdoc.h
index 9cdf598b..8a5c2edd 100644
--- a/libmdoc.h
+++ b/libmdoc.h
@@ -40,6 +40,7 @@ struct mdoc {
enum mdoc_sec lastnamed;
enum mdoc_sec lastsec;
struct regset *regs; /* registers */
+ struct roff *roff;
};
#define MACRO_PROT_ARGS struct mdoc *m, \