summaryrefslogtreecommitdiffstats
path: root/roff.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 15:09:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-01 15:09:01 +0000
commit4798ad5268f825b6268dfc891ec2fa411f164558 (patch)
tree870dfbe3db8471bc3a03508b1cce47738359042a /roff.h
parent9a5c8b40af771729cb01c48980c16db57d185583 (diff)
downloadmandoc-4798ad5268f825b6268dfc891ec2fa411f164558.tar.gz
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.
Diffstat (limited to 'roff.h')
-rw-r--r--roff.h3
1 files changed, 3 insertions, 0 deletions
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 */
};