summaryrefslogtreecommitdiffstats
path: root/man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 22:05:20 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 22:05:20 +0000
commit0e41b47c56cfe4131e7f3424fde8ce7fbc7a94e3 (patch)
tree745274842b2c5469ec195887b0c305e2c9509163 /man.c
parent7b8e2174fd0e7158995a5790c05254f664943dcc (diff)
downloadmandoc-0e41b47c56cfe4131e7f3424fde8ce7fbc7a94e3.tar.gz
Use tbl_span line number for warnings/errors.
Diffstat (limited to 'man.c')
-rw-r--r--man.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/man.c b/man.c
index 7336590e..6b09300b 100644
--- a/man.c
+++ b/man.c
@@ -371,7 +371,7 @@ man_addspan(struct man *m, const struct tbl_span *sp)
assert( ! (MAN_HALT & m->flags));
if ( ! man_span_alloc(m, sp))
return(0);
- return(man_descope(m, 0, 0));
+ return(man_descope(m, sp->line, 0));
}
static int