aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit7e1515051811beb532cd49dfdf82f778dde90e81 (patch)
tree167361db4dfd08c4d04082b1b45294ae5c0146b3 /roff.c
parentc4585f51e1879dba09462098517aec738f246342 (diff)
downloadmandoc-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 'roff.c')
-rw-r--r--roff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/roff.c b/roff.c
index 7d76fb56..6162bb2c 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.125 2011/02/06 20:36:36 kristaps Exp $ */
+/* $Id: roff.c,v 1.126 2011/02/09 09:05:52 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;
}