From 4798ad5268f825b6268dfc891ec2fa411f164558 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 1 Dec 2010 15:09:01 +0000 Subject: Merge restructuring of main.c code. This provided by schwarze@ and inspected carefully by joerg@. Merge roff.h header for compilation's sake (this is not yet implemented in roff.c.). THIS IS A BUGGY CHECK-IN. The manual type is erroneously kept between runs of the compiler. This is a known bug. --- roff.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'roff.h') diff --git a/roff.h b/roff.h index b15d64f7..bad27799 100644 --- a/roff.h +++ b/roff.h @@ -20,6 +20,9 @@ enum rofferr { ROFF_CONT, /* continue processing line */ ROFF_RERUN, /* re-run roff interpreter with offset */ + ROFF_APPEND, /* re-run main parser, appending next line */ + ROFF_REPARSE, /* re-run main parser on the result */ + ROFF_SO, /* include another file */ ROFF_IGN, /* ignore current line */ ROFF_ERR /* badness: puke and stop */ }; -- cgit