diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-18 07:46:41 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-18 07:46:41 +0000 |
commit | fe200714381b9d81c222bda224df0dc6dfc61c8a (patch) | |
tree | 209bef8a4f53984c628091c1fad8b4817c290671 /man.c | |
parent | bafe4939fd3c12ed13bf24cf2f317e39910722bb (diff) | |
download | mandoc-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 'man.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ man_free(struct man *man) struct man * -man_alloc(struct regset *regs, struct mparse *parse) +man_alloc(struct roff *roff, struct mparse *parse) { struct man *p; @@ -104,7 +104,7 @@ man_alloc(struct regset *regs, struct mparse *parse) man_hash_init(); p->parse = parse; - p->regs = regs; + p->roff = roff; man_alloc1(p); return(p); |