summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-26 13:03:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-26 13:03:48 +0000
commitba5583393dfa12234c2752e45824ac58a3851700 (patch)
treef10df2e7e42238d98588d07c9ed548cab34de646 /mandoc.h
parent40e6bb12623d39d53c3ab3ebf4ea56e96a873c33 (diff)
downloadmandoc-ba5583393dfa12234c2752e45824ac58a3851700.tar.gz
More improvements regarding tbl(7) options.
* Treat "allbox" as an alias for "box" for now. * Parse and ignore the GNU tbl "nowarn" option. * For separation, allow spaces, tabs, and commas only. * Mark eqn(7) within tbl(7) as unsupported. * Simplify the option table. * Improve and sort documentation.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index a5735a2e..3c034c06 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -181,6 +181,7 @@ enum mandocerr {
MANDOCERR_REQ_UNSUPP, /* unsupported roff request: request */
MANDOCERR_TBLLAYOUT, /* unsupported table layout */
MANDOCERR_TBLMACRO, /* ignoring macro in table: macro */
+ MANDOCERR_TBLEQN, /* eqn in tbl */
MANDOCERR_MAX
};
@@ -196,6 +197,7 @@ struct tbl_opts {
#define TBL_OPT_ALLBOX (1 << 4)
#define TBL_OPT_NOKEEP (1 << 5)
#define TBL_OPT_NOSPACE (1 << 6)
+#define TBL_OPT_NOWARN (1 << 7)
int cols; /* number of columns */
};