=================================================================== RCS file: /cvs/mandoc/read.c,v retrieving revision 1.209 retrieving revision 1.210 diff -u -p -r1.209 -r1.210 --- mandoc/read.c 2018/12/30 00:49:55 1.209 +++ mandoc/read.c 2018/12/31 04:55:47 1.210 @@ -1,4 +1,4 @@ -/* $Id: read.c,v 1.209 2018/12/30 00:49:55 schwarze Exp $ */ +/* $Id: read.c,v 1.210 2018/12/31 04:55:47 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010-2018 Ingo Schwarze @@ -688,6 +688,7 @@ mparse_free(struct mparse *curp) struct roff_meta * mparse_result(struct mparse *curp) { + roff_state_reset(curp->man); if (curp->options & MPARSE_VALIDATE) { if (curp->man->meta.macroset == MACROSET_MDOC) mdoc_validate(curp->man);