aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 66ab1830..97127ed3 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -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