summaryrefslogtreecommitdiffstatshomepage
path: root/main.c
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 /main.c
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 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index af2e98a1..a0a563e7 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.79 2010/05/17 22:11:42 kristaps Exp $ */
+/* $Id: main.c,v 1.80 2010/05/31 23:40:25 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -102,7 +102,6 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"out of order prologue",
"repeated prologue entry",
"list type must come first",
- "column syntax is inconsistent",
"bad standard",
"bad library",
"bad escape sequence",
@@ -144,6 +143,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"no title in document",
"line argument(s) will be lost",
"body argument(s) will be lost",
+ "column syntax is inconsistent",
"missing font type",
"missing display type",
"missing list type",