diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-12 21:32:43 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-12 21:32:43 +0000 |
commit | ad65fd82badffccc03d23a670fcca78d0441df6b (patch) | |
tree | 92d5d58aea25095d80479f13c1cc68ceaf7db1a2 /libroff.h | |
parent | bd3c130d880c877042ee0fe8305c8375f61af3f8 (diff) | |
download | mandoc-ad65fd82badffccc03d23a670fcca78d0441df6b.tar.gz |
Have equation be allocated with mparse. Will be needed for logging of
messages.
Diffstat (limited to 'libroff.h')
-rw-r--r-- | libroff.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,6 +45,7 @@ struct tbl_node { struct eqn_node { struct eqn eqn; struct eqn_node *next; + struct mparse *parse; }; struct tbl_node *tbl_alloc(int, int, struct mparse *); @@ -58,7 +59,7 @@ int tbl_data(struct tbl_node *, int, const char *); int tbl_cdata(struct tbl_node *, int, const char *); const struct tbl_span *tbl_span(struct tbl_node *); void tbl_end(struct tbl_node *); -struct eqn_node *eqn_alloc(int, int); +struct eqn_node *eqn_alloc(int, int, struct mparse *); void eqn_end(struct eqn_node *); void eqn_free(struct eqn_node *); enum rofferr eqn_read(struct eqn_node **, int, const char *, int); |