summaryrefslogtreecommitdiffstats
path: root/man.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:18:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:18:15 +0000
commit75f227792a0d34031aeeaec473483f07aa7c793c (patch)
tree4e0793668e9010ae4476bc9d1838485b6350b00b /man.h
parent31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (diff)
downloadmandoc-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/man.h b/man.h
index 13b7d0a7..9487e5f8 100644
--- a/man.h
+++ b/man.h
@@ -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 *);