=================================================================== RCS file: /cvs/mandoc/tree.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -p -r1.82 -r1.83 --- mandoc/tree.c 2018/12/13 05:23:38 1.82 +++ mandoc/tree.c 2018/12/30 00:49:56 1.83 @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.82 2018/12/13 05:23:38 schwarze Exp $ */ +/* $Id: tree.c,v 1.83 2018/12/30 00:49:56 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons * Copyright (c) 2013,2014,2015,2017,2018 Ingo Schwarze @@ -41,18 +41,18 @@ static void print_span(const struct tbl_span *, int); void -tree_mdoc(void *arg, const struct roff_man *mdoc) +tree_mdoc(void *arg, const struct roff_meta *mdoc) { - print_meta(&mdoc->meta); + print_meta(mdoc); putchar('\n'); print_mdoc(mdoc->first->child, 0); } void -tree_man(void *arg, const struct roff_man *man) +tree_man(void *arg, const struct roff_meta *man) { - print_meta(&man->meta); - if (man->meta.hasbody == 0) + print_meta(man); + if (man->hasbody == 0) puts("body = empty"); putchar('\n'); print_man(man->first->child, 0);