aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit4c463a931a128500d4e57522a82cadb5fcc3ea30 (patch)
tree1c1e7b1953625f7a1d12655cda3b416700bdd512 /man.c
parent3a8ad8057352b753c868261c2eb7a11b81d3c325 (diff)
downloadmandoc-4c463a931a128500d4e57522a82cadb5fcc3ea30.tar.gz
mandoc-4c463a931a128500d4e57522a82cadb5fcc3ea30.tar.zst
mandoc-4c463a931a128500d4e57522a82cadb5fcc3ea30.zip
Use tbl_span line number for warnings/errors.
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man.c b/man.c
index da58c662..1a6807ef 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.98 2011/02/06 22:02:58 kristaps Exp $ */
+/* $Id: man.c,v 1.99 2011/02/06 22:05:20 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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