aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 22:27:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 22:27:08 +0000
commit50d29bf6574505b50aa9e8520471ac37a8de0bad (patch)
treec9ce4086e578d25027f8722c883949a2c0319868 /mandoc.h
parent1e982599c7f339de5711a30d937e9f4ab18a529f (diff)
downloadmandoc-50d29bf6574505b50aa9e8520471ac37a8de0bad.tar.gz
mandoc-50d29bf6574505b50aa9e8520471ac37a8de0bad.tar.zst
mandoc-50d29bf6574505b50aa9e8520471ac37a8de0bad.zip
Add a warning if a data cell has no layout. Also make -Ttree show this
with a little star next to the entry (yeah, this is mostly for testing).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index d5b9169b..66c3afb1 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.41 2011/01/01 22:19:15 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.42 2011/01/01 22:27:08 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -99,13 +99,18 @@ enum mandocerr {
MANDOCERR_BADESCAPE, /* unknown escape sequence */
MANDOCERR_BADQUOTE, /* unterminated quoted string */
+ /* related to tables */
+ MANDOCERR_TBLEXTRADAT, /* extra data cells */
+
MANDOCERR_ERROR, /* ===== start of errors ===== */
+ /* related to tables */
MANDOCERR_TBL, /* bad table syntax */
MANDOCERR_TBLOPT, /* bad table option */
MANDOCERR_TBLLAYOUT, /* bad table layout */
MANDOCERR_TBLNOLAYOUT, /* no table layout cells specified */
MANDOCERR_TBLNODATA, /* no table data cells specified */
+
MANDOCERR_ROFFLOOP, /* input stack limit exceeded, infinite loop? */
MANDOCERR_BADCHAR, /* skipping bad character */
MANDOCERR_NOTEXT, /* skipping text before the first section header */