summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/roff.c b/roff.c
index 9536bac3..eecba18c 100644
--- a/roff.c
+++ b/roff.c
@@ -1375,3 +1375,10 @@ 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);
+}