From e7602bc16044a04fe97beac48909840f1b12ba4e 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. --- mdoc_argv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdoc_argv.c') diff --git a/mdoc_argv.c b/mdoc_argv.c index 6cd5efa2..752fb327 100644 --- a/mdoc_argv.c +++ b/mdoc_argv.c @@ -572,7 +572,7 @@ args(struct roff_man *mdoc, int line, int *pos, } p = &buf[*pos]; - *v = mandoc_getarg(mdoc->parse, &p, line, pos); + *v = mandoc_getarg(&p, line, pos); /* * After parsing the last word in this phrase, -- cgit