aboutsummaryrefslogtreecommitdiffstatshomepage
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
commite4a7a2efc2737e64ac0cf42b148f06566718c1d7 (patch)
tree1757d1d334ddbaa65060346cf629110fb5e86abc /mandoc.h
parent445b12f7ab17bc0449361eeb2f956d5a1a9bcdd6 (diff)
downloadmandoc-e4a7a2efc2737e64ac0cf42b148f06566718c1d7.tar.gz
mandoc-e4a7a2efc2737e64ac0cf42b148f06566718c1d7.tar.zst
mandoc-e4a7a2efc2737e64ac0cf42b148f06566718c1d7.zip
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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index c0979ee0..40f2bdea 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.187 2015/01/26 00:57:22 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.188 2015/01/26 13:03:48 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 */
};