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 | 31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (patch) | |
tree | 5ec5f6dd3a3a8484263747c3ea413fb5e90adf13 /mdoc.h | |
parent | 39f12eb291ae2c50f721965715032dae57e1162e (diff) | |
download | mandoc-31585348ea96dc3d531dd9a8fdbea4ad5ce4b927.tar.gz |
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 | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |