summaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 19:08:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 19:08:11 +0000
commit2c1a869d51c44602bea55601bfc78b354fe539ae (patch)
treea589d907774e05ea5432db36f6825fd9210aa04a /mandoc.h
parentedfe20876cb0a4f5dafff7c44b921b4a5a8c5830 (diff)
downloadmandoc-2c1a869d51c44602bea55601bfc78b354fe539ae.tar.gz
mandoc-2c1a869d51c44602bea55601bfc78b354fe539ae.tar.zst
mandoc-2c1a869d51c44602bea55601bfc78b354fe539ae.zip
Regression tests in place for `.if' in libroff.
Check against some strange `.if' constructs I missed. Added initial roff.7 manual.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 97127ed3..589ddbc8 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.2 2010/05/15 21:53:11 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.3 2010/05/16 19:08:11 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -23,6 +23,7 @@ enum mandocerr {
MANDOCERR_OK,
MANDOCERR_SCOPEEXIT, /* scope open on exit */
MANDOCERR_NOSCOPE, /* request scope close w/none open */
+ MANDOCERR_NOARGS, /* macro requires argument(s) */
#define MANDOCERR_WARNING MANDOCERR_SCOPEEXIT
MANDOCERR_ARGSLOST, /* line arguments will be lost */