diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:05:52 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-09 09:05:52 +0000 |
commit | 7e1515051811beb532cd49dfdf82f778dde90e81 (patch) | |
tree | 167361db4dfd08c4d04082b1b45294ae5c0146b3 /mdoc.h | |
parent | c4585f51e1879dba09462098517aec738f246342 (diff) | |
download | mandoc-7e1515051811beb532cd49dfdf82f778dde90e81.tar.gz mandoc-7e1515051811beb532cd49dfdf82f778dde90e81.tar.zst mandoc-7e1515051811beb532cd49dfdf82f778dde90e81.zip |
Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). Only
the adding itself is implemented; equation data is not yet shown.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.116 2011/02/06 21:44:36 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.117 2011/02/09 09:05:52 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -402,6 +402,7 @@ struct mdoc_node { struct mdoc_node *tail; /* BLOCK */ char *string; /* TEXT */ const struct tbl_span *span; /* TBL */ + const struct eqn *eqn; /* EQN */ enum mdoc_endbody end; /* BODY */ }; @@ -431,6 +432,8 @@ const struct mdoc_meta *mdoc_meta(const struct mdoc *); int mdoc_endparse(struct mdoc *); int mdoc_addspan(struct mdoc *, const struct tbl_span *); +int mdoc_addeqn(struct mdoc *, + const struct eqn *); __END_DECLS |