diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 15:09:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-12-01 15:09:01 +0000 |
commit | aaa622a8952d4f33ec6491e01e3ad46ec33bb809 (patch) | |
tree | a52d6157f610aa636f93e1f0bf5b2d5cea933c89 /roff.h | |
parent | 0d3c1e62ca62e820e20a744760c2767cee37d5c9 (diff) | |
download | mandoc-aaa622a8952d4f33ec6491e01e3ad46ec33bb809.tar.gz mandoc-aaa622a8952d4f33ec6491e01e3ad46ec33bb809.tar.zst mandoc-aaa622a8952d4f33ec6491e01e3ad46ec33bb809.zip |
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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 <kristaps@bsd.lv> * @@ -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 */ }; |