diff options
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.1 2010/05/15 18:35:14 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.2 2010/05/15 21:53:11 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -25,6 +25,9 @@ enum mandocerr { MANDOCERR_NOSCOPE, /* request scope close w/none open */ #define MANDOCERR_WARNING MANDOCERR_SCOPEEXIT + MANDOCERR_ARGSLOST, /* line arguments will be lost */ +#define MANDOCERR_ERROR MANDOCERR_ARGSLOST + MANDOCERR_MEM, /* memory exhausted */ #define MANDOCERR_FATAL MANDOCERR_MEM |