diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 22:05:20 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 22:05:20 +0000 |
commit | 4c463a931a128500d4e57522a82cadb5fcc3ea30 (patch) | |
tree | 1c1e7b1953625f7a1d12655cda3b416700bdd512 /man.c | |
parent | 3a8ad8057352b753c868261c2eb7a11b81d3c325 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |