aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-30 23:45:07 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-30 23:45:07 +0000
commit446ce3efe06481ddb1b92bb4339d78e6e364ff4f (patch)
tree14ec0822d83e57aad086291f23313162f0802fb3 /mandoc.h
parent7006ba606c53d59f66ad3a7bc409a7f83fb5fe00 (diff)
downloadmandoc-446ce3efe06481ddb1b92bb4339d78e6e364ff4f.tar.gz
mandoc-446ce3efe06481ddb1b92bb4339d78e6e364ff4f.tar.zst
mandoc-446ce3efe06481ddb1b92bb4339d78e6e364ff4f.zip
garbage collect two unused enum mandocerr items
and fix a couple of comments while here
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/mandoc.h b/mandoc.h
index 2b9e8f56..6056ab5a 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.123 2014/06/25 00:20:19 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.124 2014/06/30 23:45:07 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -57,11 +57,11 @@ enum mandocerr {
MANDOCERR_DATE_BAD, /* cannot parse date, using it verbatim */
MANDOCERR_PROLOG_ORDER, /* prologue macros out of order */
MANDOCERR_PROLOG_REP, /* duplicate prologue macro */
- MANDOCERR_PROLOG_BAD, /* macro not allowed in prologue */
- MANDOCERR_PROLOG_ONLY, /* macro not allowed in body */
+ MANDOCERR_PROLOG_BAD, /* macro not allowed in prologue: macro */
+ MANDOCERR_PROLOG_ONLY, /* macro not allowed in body: macro */
/* related to document structure */
- MANDOCERR_SO, /* .so is fragile, better use ln(1) */
+ MANDOCERR_SO, /* .so is fragile, better use ln(1): .so path */
MANDOCERR_DOC_EMPTY, /* no document body */
MANDOCERR_SEC_BEFORE, /* content before the first section header */
MANDOCERR_NAMESECFIRST, /* NAME section must come first */
@@ -106,12 +106,9 @@ enum mandocerr {
MANDOCERR_BADTAB, /* tab in non-literal context */
MANDOCERR_EOLNSPACE, /* end of line whitespace */
MANDOCERR_BADCOMMENT, /* bad comment style */
- MANDOCERR_BADESCAPE, /* unknown escape sequence */
+ MANDOCERR_BADESCAPE, /* bad escape sequence */
MANDOCERR_BADQUOTE, /* unterminated quoted string */
- /* related to equations */
- MANDOCERR_EQNQUOTE, /* unexpected literal in equation */
-
MANDOCERR_ERROR, /* ===== start of errors ===== */
/* related to equations */
@@ -151,12 +148,11 @@ enum mandocerr {
MANDOCERR_NUMERIC, /* request requires a numeric argument */
MANDOCERR_LISTTYPE, /* missing list type */
MANDOCERR_ARGSLOST, /* line argument(s) will be lost */
- MANDOCERR_BODYLOST, /* body argument(s) will be lost */
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */
MANDOCERR_TOOLARGE, /* input too large */
- MANDOCERR_NOTMANUAL, /* manual isn't really a manual */
+ MANDOCERR_NOTMANUAL, /* not a manual */
MANDOCERR_COLUMNS, /* column syntax is inconsistent */
MANDOCERR_BADDISP, /* NOT IMPLEMENTED: .Bd -file */
MANDOCERR_SYNTARGVCOUNT, /* argument count wrong, violates syntax */