From dfc3c322d2d9553a0f7c08a28a772b13beec5e7f Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 9 Feb 2011 09:18:15 +0000 Subject: 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. --- man.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man.h') 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 * @@ -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 *); -- cgit v1.2.3