diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-14 06:33:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2018-12-14 06:33:04 +0000 |
commit | 517029c35a0748509844aaff82467e644ba37a22 (patch) | |
tree | 9e6887342895cc77dcf0e9e12b8f54f39dbdfa60 /usr.bin/mandoc/tbl_int.h | |
parent | 0dad72fbe7b543626df4b8f7375e7a5dcd75dbab (diff) |
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 'usr.bin/mandoc/tbl_int.h')
-rw-r--r-- | usr.bin/mandoc/tbl_int.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/tbl_int.h b/usr.bin/mandoc/tbl_int.h index f4e3b8a5d7b..299ceaaf792 100644 --- a/usr.bin/mandoc/tbl_int.h +++ b/usr.bin/mandoc/tbl_int.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tbl_int.h,v 1.1 2018/12/13 02:05:57 schwarze Exp $ */ +/* $OpenBSD: tbl_int.h,v 1.2 2018/12/14 06:33:03 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011,2013,2015,2017,2018 Ingo Schwarze <schwarze@openbsd.org> @@ -28,7 +28,6 @@ enum tbl_part { struct tbl_node { struct tbl_opts opts; /* Options for the whole table. */ - struct mparse *parse; /* For error reporting. */ struct tbl_node *next; /* Next table. */ struct tbl_row *first_row; /* First layout row. */ struct tbl_row *last_row; /* Last layout row. */ |