summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 10:24:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 10:24:35 +0000
commit49de222b7899f01575a6ac00a26bc345864dc826 (patch)
treee8b6249505f745bf14ced273989037807624f076 /roff.c
parentf1454c7cbdfb3ec91f3bcce1e004d4c81d3b08cf (diff)
downloadmandoc-49de222b7899f01575a6ac00a26bc345864dc826.tar.gz
Finish the eqn syntactic parser. This correctly parses terms and does
the proper `define' dance, which amounts to pure word-replace (you can, say, define `foo' as `define' then define `define' as something else). eqn.c is now ready for some semantic parsing of `box' and `eqn' productions as defined by the grammar.
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 1ef54c16..4016ed0e 100644
--- a/roff.c
+++ b/roff.c
@@ -583,7 +583,7 @@ roff_endparse(struct roff *r)
if (r->eqn) {
mandoc_msg(MANDOCERR_SCOPEEXIT, r->parse,
- r->eqn->eqn.line, r->eqn->eqn.pos, NULL);
+ r->eqn->eqn.ln, r->eqn->eqn.pos, NULL);
eqn_end(r->eqn);
r->eqn = NULL;
}