diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 10:24:35 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 10:24:35 +0000 |
commit | 49de222b7899f01575a6ac00a26bc345864dc826 (patch) | |
tree | e8b6249505f745bf14ced273989037807624f076 /roff.c | |
parent | f1454c7cbdfb3ec91f3bcce1e004d4c81d3b08cf (diff) | |
download | mandoc-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |