From 4c2762423e7dcaf40f505c9000f23b6f18a484e5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 14 Dec 2018 06:33:14 +0000 Subject: 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. --- tbl_int.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tbl_int.h') diff --git a/tbl_int.h b/tbl_int.h index a9e74050..fc32910f 100644 --- a/tbl_int.h +++ b/tbl_int.h @@ -1,4 +1,4 @@ -/* $Id: tbl_int.h,v 1.1 2018/12/13 02:06:07 schwarze Exp $ */ +/* $Id: tbl_int.h,v 1.2 2018/12/14 06:33:14 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2011,2013,2015,2017,2018 Ingo Schwarze @@ -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. */ -- cgit v1.2.3