From aaa622a8952d4f33ec6491e01e3ad46ec33bb809 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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'roff.h') diff --git a/roff.h b/roff.h index 277e2b22..3624308f 100644 --- a/roff.h +++ b/roff.h @@ -1,4 +1,4 @@ -/* $Id: roff.h,v 1.18 2010/08/20 01:02:07 schwarze Exp $ */ +/* $Id: roff.h,v 1.19 2010/12/01 15:09:01 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -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 v1.2.3