aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roff.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
commit30f55adc136c204d3d558b367edbc380844a2929 (patch)
treea376b69f8eebb95f4e52c37ed320e23ecb77d9af /roff.c
parent120b20293594a2d47c4e480f65706a805f0e629b (diff)
downloadmandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.gz
mandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.zst
mandoc-30f55adc136c204d3d558b367edbc380844a2929.zip
Add support for tdefine and ndefine. Consolidate some error messages. Add
somem more version notes (getting there). Have the equation nanme be captured.
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 66fab654..80b5cec8 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.149 2011/07/21 15:21:13 kristaps Exp $ */
+/* $Id: roff.c,v 1.150 2011/07/23 18:41:18 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -1208,7 +1208,7 @@ roff_EQ(ROFF_ARGS)
struct eqn_node *e;
assert(NULL == r->eqn);
- e = eqn_alloc(ppos, ln, r->parse);
+ e = eqn_alloc(*bufp + pos, ppos, ln, r->parse);
if (r->last_eqn)
r->last_eqn->next = e;