From 0278f391fed9ab1da96a2f7737b052872f5ced71 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 23 Aug 2018 19:33:27 +0000 Subject: The upcoming .while request will have to re-execute roff(7) lines parsed earlier, so they will have to be saved for reuse - but the read.c preparser does not know yet whether a line contains a .while request before passing it to the roff parser. To cope with that, save all parsed lines for now. Even shortens the code by 20 lines. --- mdoc_man.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'mdoc_man.c') diff --git a/mdoc_man.c b/mdoc_man.c index a7a85df2..a4f8b3ab 100644 --- a/mdoc_man.c +++ b/mdoc_man.c @@ -599,19 +599,6 @@ print_count(int *count) print_word(buf); } -void -man_man(void *arg, const struct roff_man *man) -{ - - /* - * Dump the keep buffer. - * We're guaranteed by now that this exists (is non-NULL). - * Flush stdout afterward, just in case. - */ - fputs(mparse_getkeep(man_mparse(man)), stdout); - fflush(stdout); -} - void man_mdoc(void *arg, const struct roff_man *mdoc) { -- cgit