aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitdfc3c322d2d9553a0f7c08a28a772b13beec5e7f (patch)
tree9f45d0bb1130a5791c96e9accdc1069bd14bc4d3 /man.h
parent7e1515051811beb532cd49dfdf82f778dde90e81 (diff)
downloadmandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.tar.gz
mandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.tar.zst
mandoc-dfc3c322d2d9553a0f7c08a28a772b13beec5e7f.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/man.h b/man.h
index 6d9f3ced..04d50929 100644
--- a/man.h
+++ b/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.52 2011/02/06 21:44:36 kristaps Exp $ */
+/* $Id: man.h,v 1.53 2011/02/09 09:18:15 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 *);