From 7e1515051811beb532cd49dfdf82f778dde90e81 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 9 Feb 2011 09:05:52 +0000 Subject: Allow EQN data to be pushed down into libmdoc via mdoc_addeqn(). Only the adding itself is implemented; equation data is not yet shown. --- roff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roff.c') 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 * Copyright (c) 2010, 2011 Ingo Schwarze @@ -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; } -- cgit v1.2.3-56-ge451