diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-10-16 20:49:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-10-16 20:49:38 +0000 |
commit | e0a3532216a8a9547ceae91175a4e3ddb662dc4e (patch) | |
tree | 4162c485b23d5d4eea3567f2c5471e180730d3d2 /usr.bin/mandoc/mandoc.h | |
parent | 342b227d47ff0a73a9f6620547bf4daae24212cf (diff) |
Do not abort() on tbl errors, reduce the risk that tbl stuff kills a build,
and provide more useful tbl error messages in a non-intrusive way.
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r-- | usr.bin/mandoc/mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h index 79835c52e62..db0bc1beedd 100644 --- a/usr.bin/mandoc/mandoc.h +++ b/usr.bin/mandoc/mandoc.h @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.14 2010/09/27 21:25:28 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.15 2010/10/16 20:49:37 schwarze Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -100,6 +100,7 @@ enum mandocerr { MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ MANDOCERR_BODYLOST, /* body argument(s) will be lost */ MANDOCERR_IGNPAR, /* paragraph macro ignored */ + MANDOCERR_TBL, /* tbl(1) error */ MANDOCERR_FATAL, /* ===== end of fatal errors ===== */ |