diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-16 23:44:17 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-12-16 23:44:17 +0000 |
commit | 53c6fca420e355c6780bbd3297a1be3078ea569f (patch) | |
tree | 847d8454d2ba438ab65b14d0fe3086285c061f52 /usr.bin/mandoc/read.c | |
parent | 7cce7fc83f7fb15c593532d9ae81fdb0f979798a (diff) |
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 'usr.bin/mandoc/read.c')
-rw-r--r-- | usr.bin/mandoc/read.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c index 040861bc55c..a386ade8f88 100644 --- a/usr.bin/mandoc/read.c +++ b/usr.bin/mandoc/read.c @@ -1,4 +1,4 @@ -/* $OpenBSD: read.c,v 1.79 2014/11/30 05:28:00 schwarze Exp $ */ +/* $OpenBSD: read.c,v 1.80 2014/12/16 23:44:16 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org> @@ -183,6 +183,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = { "ignore data in cell", "data block still open", "ignoring extra data cells", + "ignoring macro in table", /* related to document structure and macros */ "input stack limit exceeded, infinite loop?", |