diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 06:33:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-12-14 06:33:14 +0000 |
commit | 4c2762423e7dcaf40f505c9000f23b6f18a484e5 (patch) | |
tree | 506be8e4f33431f64d95bfecad57d08f20be9dba /tbl.3 | |
parent | 7a6eb8920bdea2ecc151b308352b2a98699b2350 (diff) | |
download | mandoc-4c2762423e7dcaf40f505c9000f23b6f18a484e5.tar.gz mandoc-4c2762423e7dcaf40f505c9000f23b6f18a484e5.tar.zst mandoc-4c2762423e7dcaf40f505c9000f23b6f18a484e5.zip |
Cleanup, no functional change:
Now that message handling is properly encapsulated,
remove struct mparse pointers from four structs (roff, roff_man,
tbl_node, eqn_node) and from the argument lists of five functions
(roff_alloc, roff_man_alloc, mandoc_getarg, tbl_alloc, eqn_alloc).
Except for being passed to the main program as an opaque object,
it now only occurs in read.c, as it should, and not across 15 files
like in the past.
Diffstat (limited to 'tbl.3')
-rw-r--r-- | tbl.3 | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tbl.3,v 1.5 2018/12/13 02:06:07 schwarze Exp $ +.\" $Id: tbl.3,v 1.6 2018/12/14 06:33:14 schwarze Exp $ .\" .\" Copyright (c) 2013, 2015, 2018 Ingo Schwarze <schwarze@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 13 2018 $ +.Dd $Mdocdate: December 14 2018 $ .Dt TBL 3 .Os .Sh NAME @@ -33,7 +33,6 @@ .Fo tbl_alloc .Fa "int pos" .Fa "int line" -.Fa "struct mparse *parse" .Fc .Ft void .Fo tbl_read @@ -104,12 +103,6 @@ but if there is a span, the function .Fn tbl_layout guarantees that these pointers are not .Dv NULL . -The function -.Fn tbl_alloc -guarantees that the -.Fa parse -member is not -.Dv NULL . .It Vt struct tbl_opts This structure describes the options of one table. It is used as a substructure of |