From: schwarze@mdocml.bsd.lv
To: source@mdocml.bsd.lv
Subject: mdocml: garbage collect two unused enum mandocerr items and fix a couple
Date: Mon, 30 Jun 2014 19:45:08 -0400 (EDT) [thread overview]
Message-ID: <201406302345.s5UNj87W025041@krisdoz.my.domain> (raw)
Log Message:
-----------
garbage collect two unused enum mandocerr items
and fix a couple of comments while here
Modified Files:
--------------
mdocml:
mandoc.h
read.c
Revision Data
-------------
Index: mandoc.h
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.h,v
retrieving revision 1.123
retrieving revision 1.124
diff -Lmandoc.h -Lmandoc.h -u -p -r1.123 -r1.124
--- mandoc.h
+++ mandoc.h
@@ -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 */
Index: read.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/read.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -Lread.c -Lread.c -u -p -r1.52 -r1.53
--- read.c
+++ read.c
@@ -153,9 +153,6 @@ static const char * const mandocerrs[MAN
"bad escape sequence",
"unterminated quoted string",
- /* related to equations */
- "unexpected literal in equation",
-
"generic error",
/* related to equations */
@@ -194,7 +191,6 @@ static const char * const mandocerrs[MAN
"request requires a numeric argument",
"missing list type",
"line argument(s) will be lost",
- "body argument(s) will be lost",
"generic fatal error",
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
reply other threads:[~2014-06-30 23:45 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201406302345.s5UNj87W025041@krisdoz.my.domain \
--to=schwarze@mdocml.bsd.lv \
--cc=source@mdocml.bsd.lv \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).