diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:18:15 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:18:15 +0000 |
commit | 75f227792a0d34031aeeaec473483f07aa7c793c (patch) | |
tree | 4e0793668e9010ae4476bc9d1838485b6350b00b /man.h | |
parent | 31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (diff) | |
download | mandoc-75f227792a0d34031aeeaec473483f07aa7c793c.tar.gz |
Allow -man to process EQN as well. Also fix a segfault in missing case
statements in the post-handler for EQN in -mdoc and -man.
Diffstat (limited to 'man.h')
-rw-r--r-- | man.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -104,6 +104,7 @@ struct man_node { struct man_node *head; /* BLOCK node HEAD ptr */ struct man_node *body; /* BLOCK node BODY ptr */ const struct tbl_span *span; /* TBL */ + const struct eqn *eqn; /* EQN */ }; /* @@ -123,6 +124,7 @@ int man_parseln(struct man *, int, char *, int); int man_endparse(struct man *); int man_addspan(struct man *, const struct tbl_span *); +int man_addeqn(struct man *, const struct eqn *); const struct man_node *man_node(const struct man *); const struct man_meta *man_meta(const struct man *); |