Simplify by creating struct roff_node syntax tree nodes for tbl(7)
authorschwarze <schwarze@openbsd.org>
Sat, 8 Jul 2017 17:52:42 +0000 (17:52 +0000)
committerschwarze <schwarze@openbsd.org>
Sat, 8 Jul 2017 17:52:42 +0000 (17:52 +0000)
commitd93f85619078f67c40a0661b3cc670c70ddd866e
tree2d712ed1e0b3959bc2f631153ac9916d1bf3e89b
parent6460b0e4e0a264acdc2e6822a6789492540166a5
Simplify by creating struct roff_node syntax tree nodes for tbl(7)
right from roff_parseln() rather than delegating to read.c,
similar to what i just did for eqn(7).

The interface function roff_span() becomes obsolete and is deleted,
the former interface function roff_addtbl() becomes static,
the interface functions tbl_read() and tbl_cdata() become void,
and minus twelve linus of code.

No functional change.
usr.bin/mandoc/libmandoc.h
usr.bin/mandoc/libroff.h
usr.bin/mandoc/read.c
usr.bin/mandoc/roff.c
usr.bin/mandoc/roff_int.h
usr.bin/mandoc/tbl.c
usr.bin/mandoc/tbl_data.c