diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 22:27:08 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-01 22:27:08 +0000 |
commit | 50d29bf6574505b50aa9e8520471ac37a8de0bad (patch) | |
tree | c9ce4086e578d25027f8722c883949a2c0319868 /mandoc.h | |
parent | 1e982599c7f339de5711a30d937e9f4ab18a529f (diff) | |
download | mandoc-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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |