summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-09 09:05:52 +0000
commit31585348ea96dc3d531dd9a8fdbea4ad5ce4b927 (patch)
tree5ec5f6dd3a3a8484263747c3ea413fb5e90adf13 /roff.c
parent39f12eb291ae2c50f721965715032dae57e1162e (diff)
downloadmandoc-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 'roff.c')
-rw-r--r--roff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 91e4dcbd..0eff6973 100644
--- a/roff.c
+++ b/roff.c
@@ -560,7 +560,7 @@ roff_endparse(struct roff *r)
if (r->eqn) {
(*r->msg)(MANDOCERR_SCOPEEXIT, r->data,
- r->eqn->line, r->eqn->pos, NULL);
+ r->eqn->eqn.line, r->eqn->eqn.pos, NULL);
eqn_end(r->eqn);
r->eqn = NULL;
}