=================================================================== RCS file: /cvs/mandoc/roff.c,v retrieving revision 1.113 retrieving revision 1.114 diff -u -p -r1.113 -r1.114 --- mandoc/roff.c 2010/12/31 14:52:41 1.113 +++ mandoc/roff.c 2010/12/31 18:19:43 1.114 @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.113 2010/12/31 14:52:41 kristaps Exp $ */ +/* $Id: roff.c,v 1.114 2010/12/31 18:19:43 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * Copyright (c) 2010 Ingo Schwarze @@ -1374,4 +1374,11 @@ roff_freestr(struct roff *r) } r->first_string = NULL; +} + +const struct tbl_span * +roff_span(const struct roff *r) +{ + + return(r->tbl ? tbl_span(r->tbl) : NULL); }