From: Thomas Klausner <wiz@NetBSD.org>
To: discuss@mdocml.bsd.lv
Subject: Improving error messages?
Date: Thu, 1 Jul 2010 00:50:34 +0200 [thread overview]
Message-ID: <20100630225034.GF6829@danbala.tuwien.ac.at> (raw)
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Hi!
Recently I stumbled over a problem in pfstat(8) where a Bl had no
matching El; the mandoc version at that time wasn't even complaining
about it, just the error code returned was 1.
I've tried to file a proper bug report about this and reproduce the
problem first.
mandoc-1.10.1 is complaining about the man page with the error:
test.1:14:2: scope broken, syntax violated: multi-line scope breaks multi-line of It
I must confess, I wouldn't have a clue how to find the root cause of
this from the description.
groff-1.19.2 complains about the same problem this way:
mdoc warning: A .Bl directive has no matching .El (#14)
Perhaps the error message can be improved?
Cheers,
Thomas
[-- Attachment #2: test.1 --]
[-- Type: text/plain, Size: 160 bytes --]
.Dd June 30, 2010
.Dt TEST 1
.Os
.Sh NAME
.Nm test
.Nd test page
.Sh DESCRIPTION
.Bl -bullet
.It
first
.It
second
.\".El
.Sh BUGS
The missing .El is not found.
next reply other threads:[~2010-06-30 22:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-30 22:50 Thomas Klausner [this message]
2010-06-30 23:12 ` Ingo Schwarze
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=20100630225034.GF6829@danbala.tuwien.ac.at \
--to=wiz@netbsd.org \
--cc=discuss@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).