This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
Re: Improving gas error messages
- To: Greg McGary <greg at mcgary dot org>
- Subject: Re: Improving gas error messages
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Sun, 18 Feb 2001 07:41:44 -0500
- Cc: cgen at sources dot redhat dot com
- References: <20001212184921.G18334@redhat.com> <msg0hckjeh.fsf@mcgary.org>
Hi -
On Sat, Feb 17, 2001 at 03:57:10PM -0700, Greg McGary wrote:
: Frank, thanks a ton for the error-message improvements.
It's nice that this little bit of work makes a difference.
: > hash = (hash << 5) ^ (0x1F && tolower(*m));
: I think you mean bitwise "and" here, not logical "and".
Yup, an amusing mistake in that posted sample code.
Our internal code already uses the corrected "&" operator.
- FChE
PGP signature