This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Improving gas error messages


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]