diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-16 23:44:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-16 23:44:41 +0000 |
commit | da9096c534bd288ffa8acf2aea3a0611c1c6ecd2 (patch) | |
tree | c4d913599e6e814d9238954054fe576357878a85 /mandoc.h | |
parent | 24ce5dc84ac4a240d9f02f32b4a1bd3972e74d10 (diff) | |
download | mandoc-da9096c534bd288ffa8acf2aea3a0611c1c6ecd2.tar.gz mandoc-da9096c534bd288ffa8acf2aea3a0611c1c6ecd2.tar.zst mandoc-da9096c534bd288ffa8acf2aea3a0611c1c6ecd2.zip |
Ignore mdoc(7) and man(7) macros inside tbl(7) code because they
would abort the table in an unclean way, causing assertion failures
found by jsg@.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.176 2014/12/01 08:05:52 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.177 2014/12/16 23:44:41 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -144,6 +144,7 @@ enum mandocerr { MANDOCERR_TBLIGNDATA, /* ignore data in cell */ MANDOCERR_TBLBLOCK, /* data block still open */ MANDOCERR_TBLEXTRADAT, /* ignoring extra data cells */ + MANDOCERR_TBLMACRO, /* ignoring macro in table: macro */ /* related to document structure and macros */ MANDOCERR_ROFFLOOP, /* input stack limit exceeded, infinite loop? */ |