aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 23:40:25 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-31 23:40:25 +0000
commitcf92b022147d19cfe09cf470b887681b4174ff0e (patch)
treefeab9337392e6811c2492f8e5ebd071c53cf597f /mandoc.h
parent5790a921156fab714a8d9a5804ad1603664e8c80 (diff)
downloadmandoc-cf92b022147d19cfe09cf470b887681b4174ff0e.tar.gz
mandoc-cf92b022147d19cfe09cf470b887681b4174ff0e.tar.zst
mandoc-cf92b022147d19cfe09cf470b887681b4174ff0e.zip
Cleanup post_bl_head() to use enum mdoc_list (avoid traversing that
list). Reverted MANDOC_COLUMNS to be a bad-bad syntax error: we don't, and apparently never have, allowed mixing of -column syntaxes. This would have segfaulted if encountered.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index f6203c5b..0a4737e7 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.7 2010/05/25 12:37:20 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.8 2010/05/31 23:40:25 kristaps Exp $ */
/*
* Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -31,7 +31,6 @@ enum mandocerr {
MANDOCERR_PROLOGOOO, /* out of order prologue */
MANDOCERR_PROLOGREP, /* repeated prologue entry */
MANDOCERR_LISTFIRST, /* list type must come first */
- MANDOCERR_COLUMNS, /* column syntax is inconsistent */
MANDOCERR_BADSTANDARD, /* bad standard */
MANDOCERR_BADLIB, /* bad library */
MANDOCERR_BADESCAPE, /* bad escape sequence */
@@ -78,6 +77,7 @@ enum mandocerr {
MANDOCERR_BODYLOST, /* body argument(s) will be lost */
#define MANDOCERR_ERROR MANDOCERR_BODYLOST
+ MANDOCERR_COLUMNS, /* column syntax is inconsistent */
/* FIXME: this should be a MANDOCERR_ERROR */
MANDOCERR_FONTTYPE, /* missing font type */
/* FIXME: this should be a MANDOCERR_ERROR */