summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 22:02:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 22:02:58 +0000
commit7b8e2174fd0e7158995a5790c05254f664943dcc (patch)
treeaa19a7b18778510790f6b700129ecb8960351d29 /man.c
parentda98c7539daf0f47de95ebfe6c514b48047dcea0 (diff)
downloadmandoc-7b8e2174fd0e7158995a5790c05254f664943dcc.tar.gz
Let the line-number of a tbl_span be remembered.
Diffstat (limited to 'man.c')
-rw-r--r--man.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/man.c b/man.c
index 41865f09..7336590e 100644
--- a/man.c
+++ b/man.c
@@ -305,8 +305,7 @@ man_span_alloc(struct man *m, const struct tbl_span *span)
{
struct man_node *n;
- /* FIXME: grab from span */
- n = man_node_alloc(m, 0, 0, MAN_TBL, MAN_MAX);
+ n = man_node_alloc(m, span->line, 0, MAN_TBL, MAN_MAX);
n->span = span;
if ( ! man_node_append(m, n))